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.

12 lines 530 B
import type { StateAttributesMapping } from "../../internals/getStateAttributesProps.js"; import type { TransitionStatus } from "../../internals/useTransitionStatus.js"; /** * Shared by `Dialog.Popup` and `Dialog.Viewport`, whose states have the same shape. * `nested` is not mapped: unmapped `true` booleans already render as `data-nested`. */ export declare const dialogStateAttributesMapping: StateAttributesMapping<{ open: boolean; transitionStatus: TransitionStatus; nested: boolean; nestedDialogOpen: boolean; }>;