react-date-select
react-date-select copied to clipboard
Would be nice to have the button separate from the modal
Hey guys,
Thanks for the amazing work! I know this component doesn't work, yet, but all the styles and interactions are super nice :D
I was just wondering that it would be really nice if the button and modal itself are separate components. React Portal simply let you pass in a custom component to activate it if you so wish <Portal openByClickOn={button1}>
. OR, to simplify things more, we can even get rid of the button from the DateSelect component and only allow the user to control it using the isOpen
prop, just like how you guys did it with the Elemental Modal.