UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

11 lines (10 loc) 516 B
export type NavLocation = "top" | "side" | "mobile"; export type NavLocationContext = { where?: NavLocation; /** Toggle between expandable groups (true) and dropout mode (false) */ sideExpandedOrMobile?: boolean; }; declare const useNavLocation: () => NavLocationContext; declare const NavLocationProvider: ({ where, sideExpandedOrMobile, children, }: React.PropsWithChildren<NavLocationContext>) => import("react/jsx-runtime").JSX.Element; export { useNavLocation }; export default NavLocationProvider;