UNPKG

@adaptui/react

Version:

Collection of headless components/hooks that are accessible, composable, customizable from low level to build your own UI & Design System powered by Reakit

12 lines (11 loc) 574 B
import { CommandOptions } from "ariakit"; import { As, Props } from "ariakit-utils/types"; export declare const useBreadcrumbLink: import("ariakit-utils/types").Hook<BreadcrumbLinkOptions<"a">>; export declare const BreadcrumbLink: import("ariakit-utils/types").Component<BreadcrumbLinkOptions<"a">>; export declare type BreadcrumbLinkOptions<T extends As = "a"> = CommandOptions<T> & { /** * If true, sets `aria-current: "page"` */ isCurrentPage?: boolean; }; export declare type BreadcrumbLinkProps<T extends As = "a"> = Props<BreadcrumbLinkOptions<T>>;