Modal - Keep React
Table of Contents#
Default Modal#
Modal components typically appear as a small window or dialog box that appears on top of the existing content, effectively "blocking" interaction with the underlying interface until the modal is dismissed.
Modal With Checkbox#
You can use any other component inside our modal component. We just use the checkbox component.
Customizable Modal#
You can customize our modal as your desire except the modal functionality.
API Reference#
Explore the available props for the modal component
Property | Description | Type | Default |
---|---|---|---|
isOpen | Modal is open or not? | boolean | false |
onClose | Function to be called when the modal is closed. | function | ()=>void |