decord/source/modules/polls/native/PollBadge.tsx
2026-09-02 09:53:35 +00:00

40 lines
1.7 KiB
TypeScript

// Module ID: 16487
// Function ID: 16488
// Name: PollBadge
// Dependencies: [19, 17, 21, 4478, 709, 1296, 16488, 4474, 1233, 2]
// Exports: default
// Module 16487 (PollBadge)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 709 */;
import getSystemLocale from "getSystemLocale" /* 1233 */;
import Button from "Button" /* 1296 */;
import Text from "Text" /* 4474 */;
import registerAssetDefault from "registerAsset" /* 16488 */;
import { View } from "get ActivityIndicator" /* 17 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4478 */;
require = arg1;
noopAll;
({ jsx: c4, jsxs: c5 } = jsxProd);
createCacheKey = { container: null, text: null };
createCacheKey = { borderRadius: ThemesDefault.radii.round, paddingHorizontal: 8, backgroundColor: ThemesDefault.colors.BACKGROUND_SURFACE_HIGH, color: ThemesDefault.colors.TEXT_MUTED, flexDirection: "row", alignItems: "center" };
createCacheKey[0] = createCacheKey;
createCacheKey[1] = { marginLeft: 4, textTransform: "uppercase" };
let closure_6 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("modules/polls/native/PollBadge.tsx");
export default function PollBadge(style) {
const tmp = callback3();
let obj = { style: items, children: null };
items = [tmp.container, style.style];
obj = { size: Button.IconSizes.EXTRA_SMALL_10, source: registerAssetDefault };
const items1 = [callback(Button.Icon, obj), ];
obj = { style: tmp.text, variant: "text-xs/semibold", children: null };
const intl = getSystemLocale.intl;
obj[2] = intl.string(getSystemLocale.t.RgIi2B);
items1[1] = callback(Text.Text, obj);
obj[1] = items1;
return callback2(View, obj);
};