wojtekmaj/react-daterange-picker

Can't load Range picker. Style not loading.

savageqm opened this issue · 3 comments

I currently can't get the Range picker to load properly. It seems like the style is not being assigned correctly.

This is what I see when I load my react component.
image

My react component is set up like this:
import DateRangePicker from '@wojtekmaj/react-daterange-picker';
import '@wojtekmaj/react-daterange-picker/dist/DateRangePicker.css';

      <div>
            <DateRangePicker
                onChange={onChange}
                value={value}
            />
        </div>

in my webpack under module rules I have to just include the module for this range picker.
exclude: /node_modules\/(?!(react-daterange-picker)\/).*/,

any tips?

@savageqm you should add styles to angular.json

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

This issue was closed because it has been stalled for 14 days with no activity.