@project-jade-garden/reka-ui
Version:
Reka UI anatomy slots for headless design
32 lines (31 loc) • 1 kB
text/typescript
import { SVATraits } from 'jade-garden';
/**
* **Listbox**
* @description A control that allows the user to toggle between checked and not checked.
* @see [source](https://reka-ui.com/docs/components/listbox#anatomy)
*/
export declare const slots: readonly ["root", "content", "filter", "item", "itemIndicator", "virtualizer", "group", "groupLabel"];
/**
* **Listbox**
* @description A control that allows the user to toggle between checked and not checked.
* @see [source](https://reka-ui.com/docs/components/listbox#anatomy)
*/
export type Slots = (typeof slots)[number];
/**
* **Listbox**
* @description A control that allows the user to toggle between checked and not checked.
* @see [source](https://reka-ui.com/docs/components/listbox#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {
disabled: "";
};
filter: {
disabled: "";
};
item: {
state: "checked" | "unchecked";
highlighted: "";
disabled: "";
};
}>;