Usage
Right positioned
Props
| Prop | Type | Default | Description |
|---|---|---|---|
open | boolean | - | Controlled open state of the dialog |
onOpenChange | (open: boolean, eventDetails) => void | - | Callback when the open state changes |
defaultOpen | boolean | - | Default open state for uncontrolled usage |
isRight | boolean | false | Positions the dialog on the right side (for DialogContent) |
render | ReactElement | - | Composes the trigger or close control with another component, for example a Button (for DialogTrigger and DialogClose) |