UNPKG

@payfit/unity-components

Version:

13 lines (12 loc) 596 B
import { HTMLAttributes, PropsWithChildren } from 'react'; export type NavProps = PropsWithChildren<Pick<HTMLAttributes<HTMLDivElement>, 'aria-label' | 'aria-describedby' | 'aria-labelledby' | 'aria-hidden' | 'aria-live'> & { /** The title of the navigation menu. */ title?: string; }>; /** * The `Nav` component represents a vertical navigation menu with optional title and navigation items of multiple types. */ export declare function Nav({ children, title, ...rest }: NavProps): import("react/jsx-runtime").JSX.Element; export declare namespace Nav { var displayName: string; }