decord/source/design/components/Menu/native/MenuGroup.tsx

50 lines
1.6 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 13588
// Function ID: 13589
2026-07-20 16:05:17 +00:00
// Name: MenuGroup
2026-08-25 06:04:03 +00:00
// Dependencies: [19, 17, 21, 4380, 712, 2]
2026-07-23 10:11:24 +00:00
2026-08-25 06:04:03 +00:00
// Module 13588 (MenuGroup)
2026-08-24 06:08:38 +00:00
import ThemesDefault from "Themes" /* 712 */;
import importAllResult from "noop" /* 19 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import jsxProd from "jsxProd" /* 21 */;
2026-08-25 06:04:03 +00:00
import createCacheKey from "createCacheKey" /* 4380 */;
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
let c0 = importAllResult;
2026-07-23 10:11:24 +00:00
({ StyleSheet, View: closure_1 } = get_ActivityIndicator);
2026-07-29 08:29:29 +00:00
({ jsx: obj1, jsxs: c3 } = jsxProd);
let obj = { divider: null };
2026-08-24 06:08:38 +00:00
obj = { marginLeft: 0, height: StyleSheet.hairlineWidth, backgroundColor: ThemesDefault.colors.BORDER_SUBTLE, marginTop: -1 * StyleSheet.hairlineWidth };
2026-07-29 08:29:29 +00:00
obj[0] = obj;
let closure_4 = createCacheKey.createStyles(obj);
2026-07-20 16:05:17 +00:00
const forwardRefResult = importAllResult.forwardRef((arg0, arg1) => {
({ style, children } = arg0);
2026-07-29 08:29:29 +00:00
let obj = { style, children: null };
let tmp4 = null === arg1;
if (tmp4) {
obj = { style: null };
obj[0] = tmp.divider;
tmp4 = callback(tmp3, obj);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const items = [tmp4, ];
2026-07-20 16:05:17 +00:00
const Children = arg1.Children;
2026-07-23 10:11:24 +00:00
items[1] = Children.map(children, (icon) => {
2026-07-20 16:05:17 +00:00
let cloneElementResult = icon;
2026-07-23 10:11:24 +00:00
if (0 === arg1) {
2026-07-29 08:29:29 +00:00
let obj = validElement;
2026-07-20 16:05:17 +00:00
cloneElementResult = icon;
2026-07-29 08:29:29 +00:00
if (validElement.isValidElement(icon)) {
obj = { ref: null };
obj[0] = validElement;
cloneElementResult = obj.cloneElement(icon, obj);
2026-07-20 16:05:17 +00:00
}
}
return cloneElementResult;
});
2026-07-29 08:29:29 +00:00
obj[1] = items;
2026-07-20 16:05:17 +00:00
return closure_3(closure_1, obj);
});
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("design/components/Menu/native/MenuGroup.tsx");
2026-07-20 16:05:17 +00:00
export const MenuGroup = forwardRefResult;