The modal component is used to display content in an overlay.
| Prop | Type | Description |
|---|---|---|
| title | string | Title displayed in the modal header. |
| domRef | object | Ref for the modal container. |
| isOpen | boolean | Controls whether the modal is visible. |
| closeModal | function | Function to close the modal. |
| children | ReactNode | Content inside the modal. |