Function: DialogClose()
@arolariu/components / DialogClose
Function: DialogClose()
DialogClose(
props):ReactElement
Defined in: components/ui/dialog.tsx:165
Closes the dialog from an interactive control inside the modal.
Parameters
props
Readonly<Props>
Returns
ReactElement
Remarks
- Renders a
<button>element by default - Built on Base UI Dialog
- Supports the
renderprop for element composition - Styling via CSS Modules with
--ac-*custom properties
Example
<DialogClose>Dismiss</DialogClose>
See
// was this page useful?