decord/source/design/components/Modal/native/ModalActionButton.native.tsx

40 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 9927
// Function ID: 9928
2026-07-20 16:05:17 +00:00
// Name: ModalActionButton
2026-07-29 08:29:29 +00:00
// Dependencies: [19, 17, 21, 4189, 4600, 2]
2026-07-20 16:05:17 +00:00
// Exports: ModalActionButton
2026-07-29 08:29:29 +00:00
// Module 9927 (ModalActionButton)
import "noop";
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator";
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c3;
let c4;
let c5;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
({ jsx: c3, Fragment: c4, jsxs: c5 } = jsxProd);
let closure_6 = createCacheKey.createStyles({ spacer: { marginTop: 12 } });
2026-07-23 10:11:24 +00:00
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;
2026-07-29 08:29:29 +00:00
const merged = Object.assign(variant, Object.create(null));
let tmp5 = "secondary" === variant;
if (tmp5) {
let obj = { style: null };
obj[0] = tmp2.spacer;
tmp5 = callback(View, obj);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj = { children: null };
const items = [tmp5, ];
obj = {};
2026-07-20 16:05:17 +00:00
const merged1 = Object.assign(merged);
2026-07-29 08:29:29 +00:00
obj.variant = variant;
obj.size = "lg";
items[1] = callback(require(4600) /* Button */.Button, obj);
obj[0] = items;
2026-07-20 16:05:17 +00:00
return closure_5(closure_4, obj);
};