@project-jade-garden/reka-ui
Version:
Reka UI anatomy slots for headless design
26 lines (25 loc) • 890 B
text/typescript
import { SVATraits } from 'jade-garden';
/**
* **Toast**
* @description A succinct message that is displayed temporarily.
* @see [source](https://reka-ui.com/docs/components/toast#anatomy)
*/
export declare const slots: readonly ["provider", "root", "portal", "action", "close", "viewport", "title", "description"];
/**
* **Toast**
* @description A succinct message that is displayed temporarily.
* @see [source](https://reka-ui.com/docs/components/toast#anatomy)
*/
export type Slots = (typeof slots)[number];
/**
* **Toast**
* @description A succinct message that is displayed temporarily.
* @see [source](https://reka-ui.com/docs/components/toast#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {
state: "open" | "closed";
swipe: "start" | "move" | "cancel" | "end";
"swipe-direction": "up" | "down" | "left" | "right";
};
}>;