UNPKG

@toolsie/nav

Version:

## Project setup ``` npm install ```

25 lines (23 loc) 644 B
/** * @interface NavContainerProps - Container props */ interface NavBarProps { /** wether the menu is currently active or not */ active?: boolean; /** the breakpoint to show the toggle */ breakpoint?: number; /** position the toggle left instead of right */ leftToggle?: boolean; /** fix the menu to the top of the page */ fixed?: boolean; /** the actual responsive state of the menu */ responsive?: boolean; } /** * @interface NavContainerProps - Container props */ interface NavElementProps { /** wether the element is currently active or not */ active?: boolean; } export type { NavBarProps, NavElementProps };