decord/beta/source/modules/billing/native/PaymentFlowWarningMessage.tsx

40 lines
1.7 KiB
TypeScript
Raw Normal View History

// Module ID: 12878
// Function ID: 12879
// Name: PaymentFlowWarningMessage
// Dependencies: [19, 17, 21, 4836, 576, 5753, 1177, 4832, 2]
// Exports: default
// Module 12878 (PaymentFlowWarningMessage)
2026-10-01 14:13:23 +00:00
import react_native from "react-native" /* 17 */;
import nativeDefault from "native" /* 576 */;
import native from "native" /* 1177 */;
import Text_Text from "Text/Text" /* 4832 */;
2026-10-01 14:13:23 +00:00
import LegacyTokens from "LegacyTokens" /* 5753 */;
import react from "react" /* 19 */;
import Fragment from "Fragment" /* 21 */;
import createStyles from "createStyles" /* 4836 */;
import size_mod from "module_2" /* 2 */;
2026-10-01 14:13:23 +00:00
let closure_4;
let hasOwnProperty;
let obj2;
const View = react_native.View;
({ jsx: closure_4, jsxs: hasOwnProperty } = Fragment);
let obj = { container: obj2, icon: { marginRight: 10 }, text: { flexShrink: 1 } };
obj2 = { padding: 10, marginVertical: 5, borderRadius: nativeDefault.radii.xs, display: "flex", flexDirection: "row", alignItems: "center", backgroundColor: LegacyTokens.DARK_PRIMARY_630_LIGHT_PRIMARY_230 };
let closure_6 = createStyles.createStyles(obj);
let size = size_mod;
const result = size.fileFinishedImporting("modules/billing/native/PaymentFlowWarningMessage.tsx");
export default function PaymentFlowWarningMessage(children) {
2026-10-01 14:13:23 +00:00
let items;
const tmp = closure_6();
2026-10-01 14:13:23 +00:00
const obj = { style: tmp.container, children: items };
size = { style: tmp.icon, color: nativeDefault.unsafe_rawColors.YELLOW_300, width: 16, height: 16 };
const WarningCircle = native.WarningCircle;
items = [React3(WarningCircle, size), ];
const obj2 = { variant: "text-sm/medium", style: tmp.text, children: children.message };
items[1] = React3(Text_Text.Text, obj2);
return hasOwnProperty(View, obj);
};