@cfxlabsinc/b2b-services
    Preparing search index...

    H lets an app narrow href to its route union. next/link is imported here, not passed in: a server sidebar cannot hand a client component a function.

    type SidebarNavLinkProps<H extends string = string> = {
        alsoActiveOn?: readonly H[];
        children: ReactNode;
        className?: string;
        exact?: boolean;
        href: H;
        revealWhenActive?: boolean;
        title?: string;
    }

    Type Parameters

    • H extends string = string
    Index
    alsoActiveOn?: readonly H[]

    Further hrefs whose own pages also mark this row current.

    children: ReactNode
    className?: string
    exact?: boolean

    Active on this path only, never on a path below it.

    href: H
    revealWhenActive?: boolean

    Scrolls the row into view on mount when it is the current page.

    title?: string