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

55 lines
1.6 KiB
TypeScript
Raw Normal View History

2026-07-30 10:14:41 +00:00
// Module ID: 13169
// Function ID: 13170
2026-07-20 16:05:17 +00:00
// Name: MenuGroup
2026-07-29 08:29:29 +00:00
// Dependencies: [19, 17, 21, 4189, 712, 2]
2026-07-23 10:11:24 +00:00
2026-07-30 10:14:41 +00:00
// Module 13169 (MenuGroup)
2026-07-29 08:29:29 +00:00
import importAllResult from "noop";
2026-07-23 10:11:24 +00:00
import get_ActivityIndicator from "get ActivityIndicator";
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
2026-07-20 16:05:17 +00:00
let StyleSheet;
2026-07-29 08:29:29 +00:00
let c3;
2026-07-23 10:11:24 +00:00
let closure_1;
2026-07-29 08:29:29 +00:00
let obj1;
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 };
obj = { marginLeft: 0, height: StyleSheet.hairlineWidth, backgroundColor: require("Themes").colors.BORDER_SUBTLE, marginTop: -1 * StyleSheet.hairlineWidth };
obj[0] = obj;
let closure_4 = createCacheKey.createStyles(obj);
2026-07-20 16:05:17 +00:00
const forwardRefResult = importAllResult.forwardRef((arg0, arg1) => {
let children;
let style;
({ 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-07-23 10:11:24 +00:00
const result = require("jsxProd").fileFinishedImporting("design/components/Menu/native/MenuGroup.tsx");
2026-07-20 16:05:17 +00:00
export const MenuGroup = forwardRefResult;