@project-jade-garden/reka-ui
Version:
Reka UI anatomy slots for headless design
32 lines (31 loc) • 1.12 kB
text/typescript
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: "";
};
}>;