@project-jade-garden/bits-ui
Version:
Bits UI anatomy slots for headless design
33 lines (32 loc) • 1.09 kB
text/typescript
import { SVATraits } from 'jade-garden';
/**
* **Calendar**
* @description Displays dates and days of the week, facilitating date-related interactions.
* @see [source](https://www.bits-ui.com/docs/components/calendar#api-reference)
*/
export declare const slots: readonly ["root", "day", "grid", "gridBody", "cell", "gridHead", "headCell", "gridRow", "header", "heading", "nextButton", "prevButton"];
/**
* **Calendar**
* @description Displays dates and days of the week, facilitating date-related interactions.
* @see [source](https://www.bits-ui.com/docs/components/calendar#api-reference)
*/
export type Slots = (typeof slots)[number];
/**
* **Calendar**
* @description Displays dates and days of the week, facilitating date-related interactions.
* @see [source](https://www.bits-ui.com/docs/components/calendar#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {};
day: {};
grid: {};
gridBody: {};
cell: {};
gridHead: {};
headCell: {};
gridRow: {};
header: {};
heading: {};
nextButton: {};
prevButton: {};
}>;