v3.3.0
New Future Hooks
A new useModal
hook has been released.
Instead of returning a modal component constructed with a div element as before, it returns a modal component constructed with a dialog element.
Please note that the usage is almost the same, but some unnecessary options have been removed.
import { useModal } from 'react-hooks-use-modal/future'
const [Modal, open, close, isOpen] = useModal();
Features
What's Changed
- Demo fix by @Nayte91 in #63
- [feature] Modal components with element by @dc7290 in #73
- Update release workflow by @dc7290 in #75
- version 3.3.0 by @dc7290 in #76
New Contributors
Full Changelog: v3.2.0...v3.3.0