@project-jade-garden/kobalte
Version:
Kobalte anatomy slots for headless design
26 lines (25 loc) • 914 B
TypeScript
import { SVATraits } from 'jade-garden';
/**
* **Text Field**
* @description A text input that allow users to input custom text entries with a keyboard.
* @see [source](https://kobalte.dev/docs/core/components/text-field#anatomy)
*/
export declare const slots: readonly ["description", "errorMessage", "input", "label", "textArea"];
/**
* **Text Field**
* @description A text input that allow users to input custom text entries with a keyboard.
* @see [source](https://kobalte.dev/docs/core/components/text-field#anatomy)
*/
export type Slots = (typeof slots)[number];
/**
* **Text Field**
* @description A text input that allow users to input custom text entries with a keyboard.
* @see [source](https://kobalte.dev/docs/core/components/text-field#api-reference)
*/
export type Traits = SVATraits<Slots, {
description: {};
errorMessage: {};
input: {};
label: {};
textArea: {};
}>;