@project-jade-garden/reka-ui
Version:
Reka UI anatomy slots for headless design
36 lines (35 loc) • 1.05 kB
text/typescript
import { SVATraits } from 'jade-garden';
/**
* **Tags Input**
* @description Tag inputs render tags inside an input, followed by an actual text input.
* @see [source](https://reka-ui.com/docs/components/tags-input#anatomy)
*/
export declare const slots: readonly ["root", "input", "item", "itemText", "itemDelete", "clear"];
/**
* **Tags Input**
* @description Tag inputs render tags inside an input, followed by an actual text input.
* @see [source](https://reka-ui.com/docs/components/tags-input#anatomy)
*/
export type Slots = (typeof slots)[number];
/**
* **Tags Input**
* @description Tag inputs render tags inside an input, followed by an actual text input.
* @see [source](https://reka-ui.com/docs/components/tags-input#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {
disabled: "";
focused: "";
invalid: "";
};
input: {
invalid: "";
};
item: {
state: "active" | "inactive";
disabled: "";
};
clear: {
disabled: "";
};
}>;