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