GA-MO / react-confirm-alert

react component confirm dialog.
https://ga-mo.github.io/react-confirm-alert/demo/
MIT License
272 stars 105 forks source link

use a container component #28

Open mh-alahdadian opened 5 years ago

mh-alahdadian commented 5 years ago

for using connect and other context.consumers we need to render the confirm box inside of providers so I thought that it's a good idea to let user set a container and then confirmAlert function should be render inside of container

like react-toastify which let you render inside of a container with a function