Variable: DialogTrigger
@arolariu/components / DialogTrigger
Variable: DialogTrigger
constDialogTrigger:ForwardRefExoticComponent<Omit<DialogTriggerProps,"ref"> &RefAttributes<HTMLButtonElement>>
Defined in: components/ui/dialog.tsx:105
Opens the dialog from an interactive trigger element.
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
<DialogTrigger>Open</DialogTrigger>
See
// was this page useful?