= ({ context }) => {
+ const selectedIndex = context.items.findIndex(
+ (item) => item.label === context.activeTabLabel
+ );
+ return (
+
- {context.label}
-
- context.close.emit({
- name:
- context instanceof MenuSettings
- ? 'ix-menu-settings'
- : 'ix-menu-about',
- nativeEvent: e,
- })
+
-
- {getTabItems(context)}
-
-
-);
+ >
+
{context.label}
+
+ context.close.emit({
+ name:
+ context instanceof MenuSettings
+ ? 'ix-menu-settings'
+ : 'ix-menu-about',
+ nativeEvent: e,
+ })
+ }
+ >
+
+