decord/source/modules/polls/native/PollBadge.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

40 lines
1.7 KiB
TypeScript

// Module ID: 16674
// Function ID: 16675
// Name: PollBadge
// Dependencies: [19, 17, 21, 4560, 576, 1178, 16675, 4556, 1114, 2]
// Exports: default
// Module 16674 (PollBadge)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 576 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
import Button from "Button" /* 1178 */;
import Text from "Text" /* 4556 */;
import registerAssetDefault from "registerAsset" /* 16675 */;
import { View } from "get ActivityIndicator" /* 17 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4560 */;
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);
};