UNPKG

@project-jade-garden/reka-ui

Version:
36 lines (35 loc) 1.05 kB
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: ""; }; }>;