@project-jade-garden/bits-ui
Version:
Bits UI anatomy slots for headless design
23 lines (22 loc) • 784 B
text/typescript
import { SVATraits } from 'jade-garden';
/**
* **Switch**
* @description A toggle control enabling users to switch between "on" and "off" states.
* @see [source](https://www.bits-ui.com/docs/components/switch#api-reference)
*/
export declare const slots: readonly ["root", "thumb"];
/**
* **Switch**
* @description A toggle control enabling users to switch between "on" and "off" states.
* @see [source](https://www.bits-ui.com/docs/components/switch#api-reference)
*/
export type Slots = (typeof slots)[number];
/**
* **Switch**
* @description A toggle control enabling users to switch between "on" and "off" states.
* @see [source](https://www.bits-ui.com/docs/components/switch#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {};
thumb: {};
}>;