@project-jade-garden/bits-ui
Version:
Bits UI anatomy slots for headless design
30 lines (29 loc) • 1.02 kB
TypeScript
import { SVATraits } from 'jade-garden';
/**
* **Navigation Menu**
* @description A list of links that allow users to navigate between pages of a website.
* @see [source](https://www.bits-ui.com/docs/components/navigation-menu#api-reference)
*/
export declare const slots: readonly ["root", "content", "indicator", "item", "link", "list", "trigger", "viewport", "sub"];
/**
* **Navigation Menu**
* @description A list of links that allow users to navigate between pages of a website.
* @see [source](https://www.bits-ui.com/docs/components/navigation-menu#api-reference)
*/
export type Slots = (typeof slots)[number];
/**
* **Navigation Menu**
* @description A list of links that allow users to navigate between pages of a website.
* @see [source](https://www.bits-ui.com/docs/components/navigation-menu#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {};
content: {};
indicator: {};
item: {};
link: {};
list: {};
trigger: {};
viewport: {};
sub: {};
}>;