Function: AlertDialogTitle()
@arolariu/components / AlertDialogTitle
Function: AlertDialogTitle()
AlertDialogTitle(
props):ReactElement
Defined in: components/ui/alert-dialog.tsx:306
Renders the accessible heading for alert dialog content.
Parameters
props
Readonly<Props>
Returns
ReactElement
Remarks
- Renders an
<h2>element by default - Built on Base UI Alert Dialog
- Supports the
renderprop for element composition - Styling via CSS Modules with
--ac-*custom properties
Example
<AlertDialogTitle>Are you sure?</AlertDialogTitle>
See
// was this page useful?