decord/source/modules/polls/native/PollBadge.tsx

37 lines
1.8 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 15412
// Function ID: 117613
2026-07-20 16:05:17 +00:00
// Name: PollBadge
2026-07-24 07:16:23 +00:00
// Dependencies: [31, 27, 33, 4130, 689, 1273, 15413, 4126, 1212, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-24 07:16:23 +00:00
// Module 15412 (PollBadge)
2026-07-23 10:11:24 +00:00
import "result";
import { View } from "get ActivityIndicator";
import jsxProd from "jsxProd";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
let closure_4;
let closure_5;
const require = arg1;
({ jsx: closure_4, jsxs: closure_5 } = jsxProd);
_createForOfIteratorHelperLoose = {};
_createForOfIteratorHelperLoose = { borderRadius: require("_createForOfIteratorHelperLoose").radii.round, paddingHorizontal: 8, backgroundColor: require("_createForOfIteratorHelperLoose").colors.BACKGROUND_SURFACE_HIGH, color: require("_createForOfIteratorHelperLoose").colors.TEXT_MUTED, flexDirection: "row", alignItems: "center" };
_createForOfIteratorHelperLoose.container = _createForOfIteratorHelperLoose;
_createForOfIteratorHelperLoose.text = { marginLeft: 4, textTransform: "uppercase" };
_createForOfIteratorHelperLoose = _createForOfIteratorHelperLoose.createStyles(_createForOfIteratorHelperLoose);
const result = require("jsxProd").fileFinishedImporting("modules/polls/native/PollBadge.tsx");
2026-07-20 16:05:17 +00:00
export default function PollBadge(style) {
2026-07-23 10:11:24 +00:00
const tmp = _createForOfIteratorHelperLoose();
2026-07-20 16:05:17 +00:00
let obj = { style: items };
2026-07-23 10:11:24 +00:00
items = [tmp.container, style.style];
2026-07-24 07:16:23 +00:00
obj = { size: require(1273) /* Button */.IconSizes.EXTRA_SMALL_10, source: importDefault(15413) };
2026-07-23 10:11:24 +00:00
const items1 = [callback(require(1273) /* Button */.Icon, obj), ];
2026-07-20 16:05:17 +00:00
obj = { style: tmp.text, variant: "text-xs/semibold" };
2026-07-23 10:11:24 +00:00
const intl = require(1212) /* getSystemLocale */.intl;
obj.children = intl.string(require(1212) /* getSystemLocale */.t.RgIi2B);
items1[1] = callback(require(4126) /* Text */.Text, obj);
2026-07-20 16:05:17 +00:00
obj.children = items1;
return callback2(View, obj);
};