decord/alpha/source/modules/billing/native/PaymentFlowWarningMessage.tsx
github-actions c8aa6b4991 chore: update source for alpha 349.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
2026-09-28 07:47:09 +00:00

30 lines
1.4 KiB
TypeScript

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