Skip to main content

Function: AlertDialogHeader()

@arolariu/components


@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 render prop for element composition
  • Styling via CSS Modules with --ac-* custom properties

Example

<AlertDialogHeader>
<AlertDialogTitle>Are you sure?</AlertDialogTitle>
</AlertDialogHeader>

See

Base UI Documentation

// was this page useful?