@project-jade-garden/kobalte
Version:
Kobalte anatomy slots for headless design
37 lines (36 loc) • 1.23 kB
TypeScript
import { SVATraits } from 'jade-garden';
/**
* **Select**
* @description Displays a list of options for the user to pick from — triggered by a button.
* @see [source](https://kobalte.dev/docs/core/components/select#anatomy)
*/
export declare const slots: readonly ["root", "arrow", "content", "description", "errorMessage", "hiddenSelect", "icon", "item", "itemDescription", "itemIndicator", "itemLabel", "label", "listbox", "section", "trigger", "value"];
/**
* **Select**
* @description Displays a list of options for the user to pick from — triggered by a button.
* @see [source](https://kobalte.dev/docs/core/components/select#anatomy)
*/
export type Slots = (typeof slots)[number];
/**
* **Select**
* @description Displays a list of options for the user to pick from — triggered by a button.
* @see [source](https://kobalte.dev/docs/core/components/select#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {};
arrow: {};
content: {};
description: {};
errorMessage: {};
hiddenSelect: {};
icon: {};
item: {};
itemDescription: {};
itemIndicator: {};
itemLabel: {};
label: {};
listbox: {};
section: {};
trigger: {};
value: {};
}>;