UNPKG

@base-ui-components/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.

11 lines (10 loc) 459 B
import * as React from 'react'; import { type useDialogRoot } from '../../dialog/root/useDialogRoot.js'; export interface AlertDialogRootContext extends useDialogRoot.ReturnValue { /** * Determines if the dialog is nested within a parent dialog. */ nested: boolean; } export declare const AlertDialogRootContext: React.Context<AlertDialogRootContext | undefined>; export declare function useAlertDialogRootContext(): AlertDialogRootContext;