Function: DialogHeader()
@arolariu/components / DialogHeader
Function: DialogHeader()
DialogHeader(
props):ReactElement
Defined in: components/ui/dialog.tsx:273
Lays out the title and supporting content at the top of a dialog.
Parameters
props
Readonly<Props>
Returns
ReactElement
Remarks
- Renders a
<div>element by default - Built on Base UI Dialog
- Supports the
renderprop for element composition - Styling via CSS Modules with
--ac-*custom properties
Example
<DialogHeader>
<DialogTitle>Details</DialogTitle>
</DialogHeader>
See
// was this page useful?