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

39 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 4966
2026-07-27 11:26:19 +00:00
// Function ID: 42690
2026-07-20 16:05:17 +00:00
// Name: ButtonGroup
2026-07-25 08:10:48 +00:00
// Dependencies: [31, 33, 4131, 4542, 2]
2026-07-20 16:05:17 +00:00
// Exports: ButtonGroup
2026-07-25 08:10:48 +00:00
// Module 4966 (ButtonGroup)
2026-07-23 10:11:24 +00:00
import "result";
import { jsx } from "jsxProd";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
const require = arg1;
let closure_3 = _createForOfIteratorHelperLoose.createStyles({ container: { paddingVertical: 16 } });
const result = require("_createForOfIteratorHelperLoose").fileFinishedImporting("design/components/ButtonGroup/native/ButtonGroup.native.tsx");
2026-07-20 16:05:17 +00:00
2026-07-24 07:16:23 +00:00
export const ButtonGroup = function ButtonGroup(Text, arg1) {
2026-07-20 16:05:17 +00:00
let children;
let style;
2026-07-24 07:16:23 +00:00
let str = Text.size;
2026-07-21 22:01:30 +00:00
if (str === undefined) {
str = "md";
}
2026-07-23 10:11:24 +00:00
let obj = { size: 0, children: 0, style: 0 };
2026-07-24 07:16:23 +00:00
({ children, style } = Text);
2026-07-21 22:01:30 +00:00
Object.setPrototypeOf(null);
2026-07-24 07:16:23 +00:00
const merged = Object.assign(Text, obj);
2026-07-21 22:01:30 +00:00
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;
2026-07-25 08:10:48 +00:00
return jsx(require(4542) /* Stack */.Stack, {});
2026-07-20 16:05:17 +00:00
};