decord/source/modules/media/native/Caption.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

35 lines
1.4 KiB
TypeScript

// Module ID: 10651
// Function ID: 10652
// Name: Caption
// Dependencies: [17, 1074, 21, 4560, 576, 4409, 1178, 2]
// Exports: Caption
// Module 10651 (Caption)
import set from "set" /* 2 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import jsxProd from "jsxProd" /* 21 */;
import ThemesDefault from "Themes" /* 576 */;
import ME from "ME" /* 1074 */;
import Button from "Button" /* 1178 */;
import createCacheKey from "createCacheKey" /* 4560 */;
import hexToRgba from "hexToRgba" /* 4409 */;
const View = get_ActivityIndicator.View;
const jsx = jsxProd.jsx;
let obj = { captionText: null, labelContainer: null };
obj = { fontFamily: ME.Fonts.PRIMARY_BOLD, color: ThemesDefault.colors.WHITE, fontSize: 12 };
obj[0] = obj;
const obj1 = { backgroundColor: null, borderRadius: null, paddingHorizontal: 8, paddingVertical: 2, position: "absolute", right: 6, bottom: 6 };
obj1[0] = hexToRgba.hexWithOpacity(ThemesDefault.unsafe_rawColors.PRIMARY_700, 0.5);
obj1[1] = ThemesDefault.radii.xs;
obj[1] = obj1;
let closure_4 = createCacheKey.createStyles(obj);
const result = set.fileFinishedImporting("modules/media/native/Caption.tsx");
export const Caption = function Caption(arg0) {
({ label, style, textStyle } = arg0);
const tmp = callback();
const items = [tmp.labelContainer, style];
const items1 = [tmp.captionText, textStyle];
return <View style={items}>{jsx(Button.LegacyText, { style: items1, children: label })}</View>;
};