jungsoft / materialui-daterange-picker

A react date range picker implementation using @material-ui.
MIT License
70 stars 81 forks source link

Remove @material-ui/* dependencies and move relevant packages to peerDependencies. #14

Open JamieDixon opened 3 years ago

JamieDixon commented 3 years ago

Hi there! Thank you for this great component. It's really helped us and we're grateful for the time spent on it by you folks.

This pull request attempts to resolve the following warning in @material-ui when several instances of its packages exist in a single bundle:

image

With yarn list we can see that the host project and this component library both have a dependency on @material-ui/styles:

image

Can we expect users of this package to already be using @materia-ui and therefore have those packages as peerDependencies? :)

Thanks for considering this change and again for creating this great component.