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.

13 lines (11 loc) 331 B
'use client'; import { useRenderDialogRoot } from "./useRenderDialogRoot.mjs"; /** * Groups all parts of the dialog. * Doesn't render its own HTML element. * * Documentation: [Base UI Dialog](https://base-ui.com/react/components/dialog) */ export function DialogRoot(props) { return useRenderDialogRoot('dialog', props); }