Read the 📖 blog post for more information on Modalfy 2!
New ✨
- Rewrite library in Hooks & TypeScript
- Implement
modalfy()
allowing modals management from outside React - Implement fling gesture handler to close modal
- Add support for modals params typing
- Add new
modal.getParam()
- Add new
backdropColor
to modal options - Add support for
backBehavior
from the backdrop - Add support for
backdropColor
,backdropOpacity
&backBehavior
per modal
Breaking 💥
- Drop Flow support
- Remove
modal.getParams()
- Rename TypeScript types
- Rename modal options
backButtonBehavior
intobackBehavior
Miscellaneous 🛠️
- Bump minimal supported React Native version to
0.59.0
- Update Example to React Native
0.62.2
+ TypeScript - Update Example demo
- Add Example to Expo's Snack