UNPKG

@engie-group/fluid-design-system-react

Version:

Fluid Design System React

24 lines (23 loc) 696 B
import React from 'react'; import { ISidebarItemProps } from './NJSidebarItem'; export declare const NJSidebarMenu: React.ForwardRefExoticComponent<INJSidebarMenuProps & React.RefAttributes<HTMLElement>>; interface INJSidebarMenuProps { /** * Whether this menu is a footer or not * (footer nav is placed at the bottom of the sidebar) **/ isFooterNav?: boolean; /** * Whether menu is folded or not **/ isFolded?: boolean; /** * Sidebar items components **/ children: React.ReactElement<ISidebarItemProps> | React.ReactElement<ISidebarItemProps>[]; /** * Optional additional className */ className?: string; } export {};