react-portalgun icon indicating copy to clipboard operation
react-portalgun copied to clipboard

Add modes

Open diegomura opened this issue 7 years ago • 0 comments

Currently react-portalgun does not render the component if portalType doesn't match his key value. I called this a drastic mode (name open to change).

However, we also need to support a smooth mode (again, name may/should change) that will render all portals passed, passing by a isOpen prop to each one of them. This way, the hiding logic it's up to the portal. Handy to support in/out animations and stuff like that

diegomura avatar Feb 26 '18 03:02 diegomura