UNPKG

@project-jade-garden/reka-ui

Version:
32 lines (31 loc) 1.12 kB
import { SVATraits } from 'jade-garden'; /** * **Radio Group** * @description A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time. * @see [source](https://reka-ui.com/docs/components/radio-group#anatomy) */ export declare const slots: readonly ["root", "item", "indicator"]; /** * **Radio Group** * @description A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time. * @see [source](https://reka-ui.com/docs/components/radio-group#anatomy) */ export type Slots = (typeof slots)[number]; /** * **Radio Group** * @description A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time. * @see [source](https://reka-ui.com/docs/components/radio-group#api-reference) */ export type Traits = SVATraits<Slots, { root: { disabled: ""; }; item: { state: "checked" | "unchecked"; disabled: ""; }; indicator: { state: "checked" | "unchecked"; disabled: ""; }; }>;