"Add optional 'hidden' property to NavigationItemProps for improved flexibility in navigation item visibility."
This commit is contained in:
@@ -21,6 +21,7 @@ export type NavigationItemProps = {
|
||||
permissions?: string[];
|
||||
// Children can be used for nested navigation items
|
||||
children?: NavigationItemProps[] | [];
|
||||
hidden?: boolean; // Optional property to hide the navigation item
|
||||
};
|
||||
|
||||
type NavigationItemType = typeof props;
|
||||
|
||||
Reference in New Issue
Block a user