Commit graph

4 commits

Author SHA1 Message Date
Dane Everitt
e873c597bb
Allow passing props through to determine modal options 2020-08-17 22:04:24 -07:00
Dane Everitt
c28cba92e2
Make modals programatically controllable via a HOC
This allows entire components to be unmounted when the modal is hidden without affecting the fade in/out of the modal itself.

This also makes it easier to programatically dismiss a modal without having to copy the visibility all over the place, and makes working with props much simpler in those modal components
2020-08-17 21:35:11 -07:00
Dane Everitt
dd381f65a9
Don't try to be fancy, just pain 2020-08-01 20:06:17 -07:00
Dane Everitt
0c7f118f45
add withFlash() context HOC 2020-08-01 19:44:50 -07:00