UNPKG

@intility/bifrost-react

Version:

React library for Intility's design system, Bifrost.

32 lines (31 loc) 902 B
import type { PropsFor } from "../../types.js"; export type NavSideProps = PropsFor<"nav", { /** Override sidebar collapsed state */ collapsed?: boolean; /** Callback for when collapsed changes */ onCollapsedChange?: (collapsed: boolean) => void; /** * Custom logo * @example * logo="App Name" * @example * logo={ * <a href="/" className="bf-neutral-link"> * <Nav.Logo logo="logo.svg"> * App Name * </Nav.Logo> * </a> * } */ logo?: React.ReactNode; /** * Hide "an intility service" in bottom of sidebar. * This branding should never be hidden for customer-facing services. */ hideBranding?: boolean; }>; /** * Nav sidebar */ declare const NavSide: import("react").ForwardRefExoticComponent<NavSideProps & import("react").RefAttributes<HTMLElement>>; export default NavSide;