UNPKG

@project-jade-garden/kobalte

Version:
27 lines (26 loc) 1.16 kB
import { SVATraits } from 'jade-garden'; /** * **Dialog** * @description A window overlaid on either the primary window or another dialog window. Content behind a modal dialog is inert, meaning that users cannot interact with it. * @see [source](https://kobalte.dev/docs/core/components/dialog#anatomy) */ export declare const slots: readonly ["closeButton", "content", "description", "overlay", "title", "trigger"]; /** * **Dialog** * @description A window overlaid on either the primary window or another dialog window. Content behind a modal dialog is inert, meaning that users cannot interact with it. * @see [source](https://kobalte.dev/docs/core/components/dialog#anatomy) */ export type Slots = (typeof slots)[number]; /** * **Dialog** * @description A window overlaid on either the primary window or another dialog window. Content behind a modal dialog is inert, meaning that users cannot interact with it. * @see [source](https://kobalte.dev/docs/core/components/dialog#api-reference) */ export type Traits = SVATraits<Slots, { closeButton: {}; content: {}; description: {}; overlay: {}; title: {}; trigger: {}; }>;