@project-jade-garden/kobalte
Version:
Kobalte anatomy slots for headless design
27 lines (26 loc) • 926 B
TypeScript
import { SVATraits } from 'jade-garden';
/**
* **Checkbox**
* @description A control that allows the user to toggle between checked and not checked.
* @see [source](https://kobalte.dev/docs/core/components/checkbox#anatomy)
*/
export declare const slots: readonly ["control", "description", "errorMessage", "indicator", "input", "label"];
/**
* **Checkbox**
* @description A control that allows the user to toggle between checked and not checked.
* @see [source](https://kobalte.dev/docs/core/components/checkbox#anatomy)
*/
export type Slots = (typeof slots)[number];
/**
* **Checkbox**
* @description A control that allows the user to toggle between checked and not checked.
* @see [source](https://kobalte.dev/docs/core/components/checkbox#api-reference)
*/
export type Traits = SVATraits<Slots, {
control: {};
description: {};
errorMessage: {};
indicator: {};
input: {};
label: {};
}>;