@project-jade-garden/reka-ui
Version:
Reka UI anatomy slots for headless design
29 lines (28 loc) • 966 B
text/typescript
import { SVATraits } from 'jade-garden';
/**
* **Checkbox**
* @description A control that allows the user to toggle between checked and not checked.
* @see [source](https://reka-ui.com/docs/components/checkbox#anatomy)
*/
export declare const slots: readonly ["groupRoot", "root", "indicator"];
/**
* **Checkbox**
* @description A control that allows the user to toggle between checked and not checked.
* @see [source](https://reka-ui.com/docs/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://reka-ui.com/docs/components/checkbox#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {
state: "checked" | "unchecked" | "indeterminate";
disabled: "";
};
indicator: {
state: "checked" | "unchecked" | "indeterminate";
disabled: "";
};
}>;