decord/source/design/components/Modal/native/ModalActionButton.native.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

37 lines
1.2 KiB
TypeScript

// Module ID: 11068
// Function ID: 11069
// Name: ModalActionButton
// Dependencies: [19, 17, 21, 4605, 5025, 2]
// Exports: ModalActionButton
// Module 11068 (ModalActionButton)
import components_Button_Button from "components/Button/Button" /* 5025 */;
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(4605);
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);
};