@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 (11 loc) • 374 B
JavaScript
'use client';
import { useRenderDialogRoot } from "../../dialog/root/useRenderDialogRoot.js";
/**
* Groups all parts of the alert dialog.
* Doesn't render its own HTML element.
*
* Documentation: [Base UI Alert Dialog](https://base-ui.com/react/components/alert-dialog)
*/
export function AlertDialogRoot(props) {
return useRenderDialogRoot(props, 'alert-dialog');
}