useModal
Last updated
Was this helpful?
Last updated
Was this helpful?
Note: Prefer HOC if you're using a Class component.
The object returned by useModal()
is covered in .
If you're using TypeScript and have , you can get some nice autocomplete by utilising useModal()
like this: