decord/source/design/components/Modal/native/ModalActionButton.native.tsx
github-actions 03cf168fbc chore: update source for alpha 347.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
2026-09-17 08:17:09 +00:00

37 lines
1.2 KiB
TypeScript

// Module ID: 11155
// Function ID: 11156
// Name: ModalActionButton
// Dependencies: [19, 17, 21, 4640, 5062, 2]
// Exports: ModalActionButton
// Module 11155 (ModalActionButton)
import components_Button_Button from "components/Button/Button" /* 5062 */;
import noop from "module_19" /* 19 */;
require = fn;
const View = fn(17).View;
const jsxProd = fn(21);
({ jsx: c3, Fragment: closure_4, jsxs: hasOwnProperty } = jsxProd);
const createStyles = fn(4640);
let closure_6 = createStyles.createStyles({ spacer: { marginTop: 12 } });
const size = fn(2);
const result = size.fileFinishedImporting("design/components/Modal/native/ModalActionButton.native.tsx");
export const ModalActionButton = function ModalActionButton(variant) {
variant = variant.variant;
const merged = Object.assign(variant, Object.assign({ variant: 0 }));
let tmp5 = "secondary" === variant;
if (tmp5) {
const obj = { style: tmp2.spacer };
tmp5 = React3(View, obj);
}
const obj2 = { children: null };
const items = [tmp5, ];
const obj3 = {};
const merged1 = Object.assign(merged);
obj3.variant = variant;
obj3.size = "lg";
items[1] = React3(components_Button_Button.Button, obj3);
obj2.children = items;
return hasOwnProperty(React4, obj2);
};