hypeserver / react-date-range

A React component for choosing dates and date ranges.
MIT License
2.59k stars 672 forks source link

Not adding default css classes on HTML elements #378

Open Skgtouch opened 4 years ago

Skgtouch commented 4 years ago

Not adding default css classes on HTML elements

I am using this in my common library and making bundle of my component using webpack. I am successfully able to use the dateRangePicker in my Parent application which is using common library. But for some reason the HTML Element loaded for range picker do not have classes on it. I can see all the css classes are present but HTML is not using them.

[BUG] Bug Reproduce Steps

Creating Bundle using webpack and importing bundle in your parent application

Environment

Package Version: "^1.0.1" React version: "16.13.0" Node version:"12.10.0" Browser: "chrome"