Dialog
Modal overlay rendered in a portal.
Interfaces¶
DialogProps¶
Defined in: src/shared/ui/Dialog.tsx:10
Properties¶
| Property | Type | Description | Defined in |
|---|---|---|---|
children |
ReactNode |
- | src/shared/ui/Dialog.tsx:13 |
className? |
string |
- | src/shared/ui/Dialog.tsx:14 |
disableBackdropClose? |
boolean |
Hide the backdrop click-to-close (e.g. destructive confirms). | src/shared/ui/Dialog.tsx:16 |
onClose |
() => void |
- | src/shared/ui/Dialog.tsx:12 |
open |
boolean |
- | src/shared/ui/Dialog.tsx:11 |
Functions¶
Dialog()¶
Defined in: src/shared/ui/Dialog.tsx:24
A centered modal with a blurred backdrop and a spring entrance. For the draggable word lookup we keep a custom implementation. This covers the common confirm/edit modal
Parameters¶
| Parameter | Type |
|---|---|
__namedParameters |
DialogProps |
Returns¶
ReactPortal