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

40 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-08-06 08:05:19 +00:00
// Module ID: 10183
// Function ID: 10184
2026-07-20 16:05:17 +00:00
// Name: ModalActionButton
2026-08-06 08:05:19 +00:00
// Dependencies: [19, 17, 21, 4285, 4695, 2]
2026-07-20 16:05:17 +00:00
// Exports: ModalActionButton
2026-08-06 08:05:19 +00:00
// Module 10183 (ModalActionButton)
2026-07-29 08:29:29 +00:00
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";
2026-08-06 08:05:19 +00:00
items[1] = callback(require(4695) /* Button */.Button, obj);
2026-07-29 08:29:29 +00:00
obj[0] = items;
2026-07-20 16:05:17 +00:00
return closure_5(closure_4, obj);
};