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

35 lines
1.7 KiB
TypeScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 7193
2026-07-24 07:16:23 +00:00
// Function ID: 57926
2026-07-20 16:05:17 +00:00
// Name: PaymentFlowWarningMessage
2026-07-23 10:11:24 +00:00
// Dependencies: [31, 27, 33, 4130, 689, 4973, 1273, 4126, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-23 10:11:24 +00:00
// Module 7193 (PaymentFlowWarningMessage)
import "result";
import { View } from "get ActivityIndicator";
import jsxProd from "jsxProd";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
let closure_4;
let closure_5;
const require = arg1;
({ jsx: closure_4, jsxs: closure_5 } = jsxProd);
_createForOfIteratorHelperLoose = {};
_createForOfIteratorHelperLoose = { padding: 10, marginVertical: 5, borderRadius: require("_createForOfIteratorHelperLoose").radii.xs, display: "flex", flexDirection: "row", alignItems: "center", backgroundColor: require("result").DARK_PRIMARY_630_LIGHT_PRIMARY_230 };
_createForOfIteratorHelperLoose.container = _createForOfIteratorHelperLoose;
_createForOfIteratorHelperLoose.icon = { marginRight: 10 };
_createForOfIteratorHelperLoose.text = { flexShrink: 1 };
_createForOfIteratorHelperLoose = _createForOfIteratorHelperLoose.createStyles(_createForOfIteratorHelperLoose);
const result = require("jsxProd").fileFinishedImporting("modules/billing/native/PaymentFlowWarningMessage.tsx");
2026-07-20 16:05:17 +00:00
export default function PaymentFlowWarningMessage(children) {
2026-07-23 10:11:24 +00:00
const tmp = _createForOfIteratorHelperLoose();
2026-07-20 16:05:17 +00:00
let obj = { style: tmp.container };
2026-07-23 10:11:24 +00:00
obj = { style: tmp.icon, color: importDefault(689).unsafe_rawColors.YELLOW_300, width: 16, height: 16 };
const items = [callback(require(1273) /* Button */.WarningCircle, obj), ];
2026-07-20 16:05:17 +00:00
obj = { variant: "text-sm/medium", style: tmp.text, children: children.message };
2026-07-23 10:11:24 +00:00
items[1] = callback(require(4126) /* Text */.Text, obj);
2026-07-20 16:05:17 +00:00
obj.children = items;
return callback2(View, obj);
};