UNPKG

@base-ui/react

Version:

Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.

15 lines 625 B
import { DialogHandle } from "../dialog/store/DialogHandle.js"; import { DialogStore } from "../dialog/store/DialogStore.js"; export declare const alertDialogState: { readonly modal: true; readonly disablePointerDismissal: true; readonly role: "alertdialog"; }; /** * A handle to control an Alert Dialog imperatively and to associate detached triggers with it. */ export declare class AlertDialogHandle<Payload> extends DialogHandle<Payload> { private readonly __alertDialogBrand; constructor(store?: DialogStore<Payload>); } export declare function createAlertDialogHandle<Payload>(): AlertDialogHandle<Payload>;