@project-jade-garden/kobalte
Version:
Kobalte anatomy slots for headless design
39 lines (38 loc) • 1.38 kB
TypeScript
import { SVATraits } from 'jade-garden';
/**
* **Dropdown Menu**
* @description Displays a menu to the user —such as a set of actions or functions— triggered by a button.
* @see [source](https://kobalte.dev/docs/core/components/dropdown-menu#anatomy)
*/
export declare const slots: readonly ["root", "arrow", "checkboxItem", "content", "group", "groupLabel", "icon", "item", "itemDescription", "itemIndicator", "itemLabel", "radioGroup", "radioItem", "separator", "sub", "subContent", "subTrigger", "trigger"];
/**
* **Dropdown Menu**
* @description Displays a menu to the user —such as a set of actions or functions— triggered by a button.
* @see [source](https://kobalte.dev/docs/core/components/dropdown-menu#anatomy)
*/
export type Slots = (typeof slots)[number];
/**
* **Dropdown Menu**
* @description Displays a menu to the user —such as a set of actions or functions— triggered by a button.
* @see [source](https://kobalte.dev/docs/core/components/dropdown-menu#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {};
arrow: {};
checkboxItem: {};
content: {};
group: {};
groupLabel: {};
icon: {};
item: {};
itemDescription: {};
itemIndicator: {};
itemLabel: {};
radioGroup: {};
radioItem: {};
separator: {};
sub: {};
subContent: {};
subTrigger: {};
trigger: {};
}>;