2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 9865
|
2026-07-27 11:26:19 +00:00
|
|
|
// Function ID: 76448
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: ModalActionButton
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [31, 27, 33, 4131, 4544, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: ModalActionButton
|
|
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 9865 (ModalActionButton)
|
2026-07-23 10:11:24 +00:00
|
|
|
import "result";
|
|
|
|
|
import { View } from "get ActivityIndicator";
|
|
|
|
|
import jsxProd from "jsxProd";
|
|
|
|
|
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
|
|
|
|
|
|
|
|
|
|
let closure_3;
|
|
|
|
|
let closure_4;
|
|
|
|
|
let closure_5;
|
|
|
|
|
const require = arg1;
|
|
|
|
|
({ jsx: closure_3, Fragment: closure_4, jsxs: closure_5 } = jsxProd);
|
|
|
|
|
let closure_6 = _createForOfIteratorHelperLoose.createStyles({ spacer: { marginTop: 12 } });
|
|
|
|
|
const result = require("jsxProd").fileFinishedImporting("design/components/Modal/native/ModalActionButton.native.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const ModalActionButton = function ModalActionButton(variant) {
|
|
|
|
|
variant = variant.variant;
|
|
|
|
|
let obj = Object.create(null);
|
|
|
|
|
obj.variant = 0;
|
|
|
|
|
const merged = Object.assign(variant, obj);
|
|
|
|
|
obj = {};
|
|
|
|
|
let tmp6 = "secondary" === variant;
|
|
|
|
|
if (tmp6) {
|
|
|
|
|
obj = { style: tmp3.spacer };
|
|
|
|
|
tmp6 = callback(View, obj);
|
|
|
|
|
}
|
|
|
|
|
const items = [tmp6, ];
|
|
|
|
|
const obj1 = {};
|
|
|
|
|
const merged1 = Object.assign(merged);
|
|
|
|
|
obj1["variant"] = variant;
|
|
|
|
|
obj1["size"] = "lg";
|
2026-07-25 08:10:48 +00:00
|
|
|
items[1] = callback(require(4544) /* Button */.Button, obj1);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj.children = items;
|
|
|
|
|
return closure_5(closure_4, obj);
|
|
|
|
|
};
|