Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
28 lines
1.3 KiB
TypeScript
28 lines
1.3 KiB
TypeScript
// Module ID: 9848
|
|
// Function ID: 9849
|
|
// Name: ActionSheetHeaderPressableText
|
|
// Dependencies: [21, 4636, 5204, 4632, 2]
|
|
// Exports: ActionSheetHeaderPressableText
|
|
|
|
// Module 9848 (ActionSheetHeaderPressableText)
|
|
import jsxProd from "jsxProd" /* 21 */;
|
|
import Text_Text from "Text/Text" /* 4632 */;
|
|
import Pressables from "Pressables" /* 5204 */;
|
|
import createStyles from "createStyles" /* 4636 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const jsx = jsxProd.jsx;
|
|
let closure_3 = createStyles.createStyles(() => ({ container: { marginTop: 3 } }));
|
|
const result = size.fileFinishedImporting("design/components/Sheet/native/ActionSheetHeaderPressableText.native.tsx");
|
|
|
|
export const ActionSheetHeaderPressableText = function ActionSheetHeaderPressableText(onPress) {
|
|
({ label, accessibilityLabel } = onPress);
|
|
const obj = { style: closure_3().container, accessibilityRole: "button", onPress: onPress.onPress, accessibilityLabel: null, children: null };
|
|
let tmp5 = label;
|
|
if (null != accessibilityLabel) {
|
|
tmp5 = accessibilityLabel;
|
|
}
|
|
obj.accessibilityLabel = tmp5;
|
|
obj.children = jsx(Text_Text.Text, { variant: "text-md/medium", color: "text-brand", children: label });
|
|
return jsx(Pressables.PressableOpacity, { style: closure_3().container, accessibilityRole: "button", onPress: onPress.onPress, accessibilityLabel: null, children: null });
|
|
};
|