@project-jade-garden/bits-ui
Version:
Bits UI anatomy slots for headless design
29 lines (28 loc) • 1.08 kB
TypeScript
import { SVATraits } from 'jade-garden';
/**
* **Alert Dialog**
* @description A modal window that alerts users with important information and awaits their acknowledgment or action.
* @see [source](https://www.bits-ui.com/docs/components/alert-dialog#api-reference)
*/
export declare const slots: readonly ["root", "title", "action", "cancel", "content", "overlay", "trigger", "description"];
/**
* **Alert Dialog**
* @description A modal window that alerts users with important information and awaits their acknowledgment or action.
* @see [source](https://www.bits-ui.com/docs/components/alert-dialog#api-reference)
*/
export type Slots = (typeof slots)[number];
/**
* **Alert Dialog**
* @description A modal window that alerts users with important information and awaits their acknowledgment or action.
* @see [source](https://www.bits-ui.com/docs/components/alert-dialog#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {};
title: {};
action: {};
cancel: {};
content: {};
overlay: {};
trigger: {};
description: {};
}>;