Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
36 lines
1 KiB
TypeScript
36 lines
1 KiB
TypeScript
// Module ID: 5483
|
|
// Function ID: 5484
|
|
// Name: ButtonGroup
|
|
// Dependencies: [19, 21, 4605, 5023, 2]
|
|
// Exports: ButtonGroup
|
|
|
|
// Module 5483 (ButtonGroup)
|
|
import Stack_Stack from "Stack/Stack" /* 5023 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
const jsx = fn(21).jsx;
|
|
const createStyles = fn(4605);
|
|
let closure_3 = createStyles.createStyles({ container: { paddingVertical: 16 } });
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("design/components/ButtonGroup/native/ButtonGroup.native.tsx");
|
|
|
|
export const ButtonGroup = function ButtonGroup(size) {
|
|
let str = size.size;
|
|
if (str === undefined) {
|
|
str = "md";
|
|
}
|
|
({ children, style } = size);
|
|
const merged = Object.assign(size, Object.assign({ size: 0, children: 0, style: 0 }));
|
|
let num = 8;
|
|
if ("sm" === str) {
|
|
num = 12;
|
|
}
|
|
const obj = {};
|
|
const merged1 = Object.assign(merged);
|
|
obj.spacing = num;
|
|
const items = [closure_3().container, style];
|
|
obj.style = items;
|
|
obj.children = children;
|
|
return jsx(Stack_Stack.Stack, {});
|
|
};
|