Modal
Props
Prop | Type | Description | Required |
---|---|---|---|
open | boolean | Controls whether the modal is visible (true ) or hidden (false ). | Yes |
onClose | () => void | Callback function triggered when the modal is closed (e.g., by clicking outside or pressing "Escape"). | Yes |
children | React.ReactNode | The content to display inside the modal. | Yes |
className | string | Additional CSS class names to customize the modal content's appearance. | No |