View as Markdown

API reference: @salmonui/navigation/tree-view

TreeViewLinkPropsinterface

import type { TreeViewLinkProps } from '@salmonui/navigation/tree-view';
interface TreeViewLinkProps {
    readonly href: string;
    readonly className: string;
    readonly tabIndex: -1;
    readonly children: ReactNode;
}

Props a link item passes to renderLink (spread them on the link element).

TreeViewLinkProps members (4)
NameSignatureDescription
hrefreadonly href: string;
classNamereadonly className: string;
tabIndexreadonly tabIndex: -1;
childrenreadonly children: ReactNode;