UNPKG

alouette

Version:

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

19 lines • 1 kB
import type { ReactNode } from "react"; import { type SelectionGroupProps } from "../selection/SelectionContext"; export interface HeaderNavProps extends SelectionGroupProps { "aria-label"?: string; className?: string; } /** * Text navigation for an `AppHeader`: the same `link` + `aria-current="page"` * semantics as `NavBar`, without its lowered track — the destinations sit * directly on the bar, next to the brand. `value` is the current destination, it * matches an item's `href`, and it is usually the app router's, so pass it * controlled. * * `NavBar` is the alternative, not the parent: reach for it when the navigation * is the screen's main control (a stacked header line, a sidebar rail), and for * this one when it has to share a single line with the brand and the session. */ export declare function HeaderNav({ value, defaultValue, onValueChange, accent, disabled, className, children, ...props }: HeaderNavProps): ReactNode; //# sourceMappingURL=HeaderNav.d.ts.map