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