modalfy
Function that exposes Modalfy's API outside of React's context. The object returned by modalfy()
is covered in ModalProp
.
Note: Do not use if you're inside a React component. Please consider useModal()
or withModal()
instead.
If you're using TypeScript and have your params types, you can get some nice autocomplete by utilizing modalfy()
like this:
Last updated