UNPKG

alouette

Version:

A modern, customizable design system built on top of NativeWind v5 with configurable defaults

15 lines • 754 B
import type { ReactNode } from "react"; import { type SelectionGroupProps } from "../selection/SelectionContext"; export interface SidebarNavProps extends SelectionGroupProps { "aria-label"?: string; /** `SidebarNavItem`s, grouped under titles by `SidebarNavSection`s. */ children: ReactNode; className?: string; } /** * The destinations of an application sidebar, as rows grouped in titled * sections. `value` is the current destination — it matches an item's `href`, * and is usually owned by the app's router, so pass it controlled. */ export declare function SidebarNav({ value, defaultValue, onValueChange, accent, disabled, children, className, ...props }: SidebarNavProps): ReactNode; //# sourceMappingURL=SidebarNav.d.ts.map