// Module ID: 10917 // Function ID: 10918 // Name: Caption // Dependencies: [17, 1074, 21, 4757, 576, 4606, 1177, 2] // Exports: Caption // Module 10917 (Caption) import _mod17 from "module_17" /* 17 */; import jsxProd from "jsxProd" /* 21 */; import nativeDefault from "native" /* 576 */; import Constants from "Constants" /* 1074 */; import native from "native" /* 1177 */; import createStyles from "createStyles" /* 4757 */; import ColorUtils from "ColorUtils" /* 4606 */; import size from "module_2" /* 2 */; const View = _mod17.View; const jsx = jsxProd.jsx; let obj = { captionText: { fontFamily: Constants.Fonts.PRIMARY_BOLD, color: nativeDefault.colors.WHITE, fontSize: 12 }, labelContainer: null }; const rect = { backgroundColor: null, borderRadius: null, paddingHorizontal: 8, paddingVertical: 2, position: "absolute", right: 6, bottom: 6 }; rect.backgroundColor = ColorUtils.hexWithOpacity(nativeDefault.unsafe_rawColors.PRIMARY_700, 0.5); rect.borderRadius = nativeDefault.radii.xs; obj.labelContainer = rect; let closure_4 = createStyles.createStyles(obj); const result = size.fileFinishedImporting("modules/media/native/Caption.tsx"); export const Caption = function Caption(arg0) { ({ label, style, textStyle } = arg0); const tmp = closure_4(); const obj = { style: null, children: null }; const items = [tmp.labelContainer, style]; obj.style = items; const obj2 = { style: null, children: label }; const items1 = [tmp.captionText, textStyle]; obj2.style = items1; obj.children = jsx(native.LegacyText, { style: null, children: label }); return {null}; };