@project-jade-garden/bits-ui
Version:
Bits UI anatomy slots for headless design
28 lines (27 loc) • 1.03 kB
text/typescript
import { SVATraits } from 'jade-garden';
/**
* **Dialog**
* @description A modal window presenting content or seeking user input without navigating away from the current context.
* @see [source](https://www.bits-ui.com/docs/components/dialog#api-reference)
*/
export declare const slots: readonly ["root", "title", "close", "content", "overlay", "trigger", "description"];
/**
* **Dialog**
* @description A modal window presenting content or seeking user input without navigating away from the current context.
* @see [source](https://www.bits-ui.com/docs/components/dialog#api-reference)
*/
export type Slots = (typeof slots)[number];
/**
* **Dialog**
* @description A modal window presenting content or seeking user input without navigating away from the current context.
* @see [source](https://www.bits-ui.com/docs/components/dialog#api-reference)
*/
export type Traits = SVATraits<Slots, {
root: {};
title: {};
close: {};
content: {};
overlay: {};
trigger: {};
description: {};
}>;