@project-jade-garden/bits-ui
Version:
Bits UI anatomy slots for headless design
31 lines (30 loc) • 1.05 kB
text/typescript
import { SVATraits } from 'jade-garden';
/**
* **Select**
* @description Enables users to choose from a list of options presented in a dropdown.
* @see [source](https://www.bits-ui.com/docs/components/select#api-reference)
*/
export declare const slots: readonly ["root", "content", "contentStatic", "item", "group", "groupHeading", "trigger", "viewport", "scrollUpButton", "scrollDownButton"];
/**
* **Select**
* @description Enables users to choose from a list of options presented in a dropdown.
* @see [source](https://www.bits-ui.com/docs/components/select#api-reference)
*/
export type Slots = (typeof slots)[number];
/**
* **Select**
* @description Enables users to choose from a list of options presented in a dropdown.
* @see [source](https://www.bits-ui.com/docs/components/select#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {};
content: {};
contentStatic: {};
item: {};
group: {};
groupHeading: {};
trigger: {};
viewport: {};
scrollUpButton: {};
scrollDownButton: {};
}>;