@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 • 532 B
text/typescript
import type { StateAttributesMapping } from "../../internals/getStateAttributesProps.mjs";
import type { TransitionStatus } from "../../internals/useTransitionStatus.mjs";
/**
* 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;
}>;