UNPKG

@project-jade-garden/bits-ui

Version:
22 lines (21 loc) 778 B
import { SVATraits } from 'jade-garden'; /** * **Toggle** * @description A control element that switches between two states, providing a binary choice. * @see [source](https://www.bits-ui.com/docs/components/toggle#api-reference) */ export declare const slots: readonly ["root"]; /** * **Toggle** * @description A control element that switches between two states, providing a binary choice. * @see [source](https://www.bits-ui.com/docs/components/toggle#api-reference) */ export type Slots = (typeof slots)[number]; /** * **Toggle** * @description A control element that switches between two states, providing a binary choice. * @see [source](https://www.bits-ui.com/docs/components/toggle#api-reference) */ export type Traits = SVATraits<Slots, { root: {}; }>;