Installing
Install the library
Getting started
Wrap your app in a ModalProvider
Import the useModal
hook and use it to open and close modals with the addModal
and removeModal
functions.
Basic
You can pass the modal content as the first argument and any options as the second argument of the addModal
function.
Props
Coming soon