@eds/menu
v4.0.26
Menu
A primary navigation component for your app.Prop | Required | Description | Type |
---|---|---|---|
menu | ✅ | { user: SubMenuItemType[]; modules: ItemMenuProps[]; } | |
user | ✅ | { img: string; name: string; } | |
branding | — | { companyName?: string; logo?: string; } | |
footer | — | Footer to be displayed in the bottom of the menu. | string | number | false | true | ReactElement<any, string | JSXElementConstructor<any>> | ReactPortal | { key?: string | number; ref?: null; props?: { children?: boolean | ReactChild | ReactPortal | StrictReactFragment; }; } | (boolean | ReactChild | ReactPortal | StrictReactFragment)[] |
menuThemeType | — | The colour style of menu to use for automated theming. Defaults to default. | "default" | "subtle" | "light" |