UNPKG

@project-jade-garden/kobalte

Version:
39 lines (38 loc) 1.38 kB
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: {}; }>;