decord/source/design/components/Modal/native/ModalActionButton.native.tsx
2026-08-31 15:47:37 +00:00

38 lines
1.2 KiB
TypeScript

// Module ID: 10695
// Function ID: 10696
// Name: ModalActionButton
// Dependencies: [19, 17, 21, 4448, 4896, 2]
// Exports: ModalActionButton
// Module 10695 (ModalActionButton)
import noopAll from "noop" /* 19 */;
import Button from "Button" /* 4896 */;
import { View } from "get ActivityIndicator" /* 17 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4448 */;
require = arg1;
noopAll;
({ jsx: c3, Fragment: c4, jsxs: c5 } = jsxProd);
let closure_6 = createCacheKey.createStyles({ spacer: { marginTop: 12 } });
const result = require("set").fileFinishedImporting("design/components/Modal/native/ModalActionButton.native.tsx");
export const ModalActionButton = function ModalActionButton(variant) {
variant = variant.variant;
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);
}
obj = { children: null };
const items = [tmp5, ];
obj = {};
const merged1 = Object.assign(merged);
obj.variant = variant;
obj.size = "lg";
items[1] = callback(Button.Button, obj);
obj[0] = items;
return closure_5(closure_4, obj);
};