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

39 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 12013
// Function ID: 12014
2026-07-20 16:05:17 +00:00
// Name: ModalActionButton
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 17, 21, 4668, 4750, 2]
2026-07-20 16:05:17 +00:00
// Exports: ModalActionButton
2026-08-24 06:08:38 +00:00
// Module 12013 (ModalActionButton)
import noopAll from "noop" /* 19 */;
import Button from "Button" /* 4750 */;
import { View } from "get ActivityIndicator" /* 17 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4668 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
noopAll;
2026-07-29 08:29:29 +00:00
({ jsx: c3, Fragment: c4, jsxs: c5 } = jsxProd);
let closure_6 = createCacheKey.createStyles({ spacer: { marginTop: 12 } });
2026-08-24 06:08:38 +00:00
const result = require("set").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-24 06:08:38 +00:00
items[1] = callback(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);
};