@project-jade-garden/kobalte
Version:
Kobalte anatomy slots for headless design
27 lines (26 loc) • 888 B
TypeScript
import { SVATraits } from 'jade-garden';
/**
* **Switch**
* @description A control that allows users to choose one of two values: on or off.
* @see [source](https://kobalte.dev/docs/core/components/switch#anatomy)
*/
export declare const slots: readonly ["control", "description", "errorMessage", "input", "label", "thumb"];
/**
* **Switch**
* @description A control that allows users to choose one of two values: on or off.
* @see [source](https://kobalte.dev/docs/core/components/switch#anatomy)
*/
export type Slots = (typeof slots)[number];
/**
* **Switch**
* @description A control that allows users to choose one of two values: on or off.
* @see [source](https://kobalte.dev/docs/core/components/switch#api-reference)
*/
export type Traits = SVATraits<Slots, {
control: {};
description: {};
errorMessage: {};
input: {};
label: {};
thumb: {};
}>;