Modal

import { Modal } from "rfui-package";

#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

PropRequiredDefaultType and notes
isOpen-
boolean
close-
() => void
Use this to set isOpen to false.
heading--
string
className--
string
children-
ComponentChild