Modal
Basic
<Modal isOpen={isOpen} close={close}>
Example
</Modal>
With heading
Set
heading
to a string.<Modal heading="Modal heading" isOpen={isOpen} close={close}>
Example
</Modal>
Props
Prop | Required | Default | Type and notes |
---|---|---|---|
isOpen | - |
| |
close | - |
Use this to set isOpen to false . | |
heading | - | - |
|
className | - | - |
|
children | - |
|