jonas-app / material-date-range-picker

Accessible date range picker for material-ui
MIT License
14 stars 10 forks source link

Need Update, for latest Material UI Version #13

Open consciousnessdev opened 5 years ago

consciousnessdev commented 5 years ago

Several import is not suitable with latest material ui, and i facing some issue

Error: You are calling withTheme(Component) with an undefined component. You may have forgotten to import it.

error found in material-ui-pickers.esm.js:133 ` var SelectableCell = withTheme()(styled(Cell)(_templateObject5(), getBorderRadius, function (_ref5) { var theme = _ref5.theme, isCurrent = _ref5.isCurrent; return isCurrent ? fromTheme(theme, 'current', '#9e9e9e') : 'transparent'; }, getBackground, getColor));

`

jonas-app commented 4 years ago

Hey Ario Setiawan, thx for reporting! 👏 Unfortunately I haven't looked into the project for a while, as I do not use the picker myself atm. Would be very happy to review and merge any fixes.