decord/source/design/components/ButtonGroup/native/ButtonGroup.native.tsx

37 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-22 07:54:56 +00:00
// Module ID: 4962
// Function ID: 42655
2026-07-20 16:05:17 +00:00
// Name: ButtonGroup
2026-07-22 07:54:56 +00:00
// Dependencies: [771751943, 2885681159, 3774873604, 956301328, 1761607687]
2026-07-20 16:05:17 +00:00
// Exports: ButtonGroup
2026-07-22 07:54:56 +00:00
// Module 4962 (ButtonGroup)
2026-07-20 16:05:17 +00:00
importAll(dependencyMap[0]);
const jsx = arg1(dependencyMap[1]).jsx;
let closure_3 = arg1(dependencyMap[2]).createStyles({ container: { paddingVertical: 16 } });
const obj = arg1(dependencyMap[2]);
const result = arg1(dependencyMap[4]).fileFinishedImporting("design/components/ButtonGroup/native/ButtonGroup.native.tsx");
2026-07-21 22:01:30 +00:00
export const ButtonGroup = function ButtonGroup(size) {
2026-07-20 16:05:17 +00:00
let children;
let style;
2026-07-21 22:01:30 +00:00
let str = size.size;
if (str === undefined) {
str = "md";
}
2026-07-22 07:54:56 +00:00
let obj = { "Bool(true)": "spring", "Bool(true)": 0.4, "Bool(true)": 1 };
2026-07-21 22:01:30 +00:00
({ children, style } = size);
Object.setPrototypeOf(null);
const merged = Object.assign(size, obj);
let num = 8;
if ("sm" === str) {
num = 12;
}
2026-07-20 16:05:17 +00:00
obj = {};
const merged1 = Object.assign(merged);
2026-07-21 22:01:30 +00:00
obj["spacing"] = num;
2026-07-20 16:05:17 +00:00
const items = [callback().container, style];
obj["style"] = items;
obj["children"] = children;
return jsx(arg1(dependencyMap[3]).Stack, obj);
};