Closed alvamanu closed 4 years ago
still there is no progress?
What version of material-ui are you using? Currently this only supports versions before v1+. I would like to rewrite it for the current version of material-ui but I haven't had time. If you want to use it with the older version, you have to include the MuiThemeProvider. Please see the docs for the older 0.2 version of Material-UI
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import theme from './theme';
<MuiThemeProvider muiTheme={getMuiTheme(theme)}>
<DateRangePicker ....
</MuiThemeProvider>
`DateRangePicker.render node_modules/babel-loader/lib/index.js??ref--6-oneOf-2!/Users/manuel/Development/Docker/vhosts/dois-react/node_modules/material-ui-datetime-range-picker/DatePicker/DateRangePicker.js:484 481 | utils = _props.utils, 482 | other = _objectWithoutProperties(_props, ['DateTimeFormat', 'autoOk', 'autoOpenField', 'blockedDateTimeRanges', 'calendarDateWidth', 'calendarTimeWidth', 'cancelLabel', 'className', 'container', 'dayButtonSize', 'dialogContainerStyle', 'end', 'endLabel', 'endLabelDate', 'endLabelTime', 'firstDayOfWeek', 'formatDisplay', 'layout', 'locale', 'mode', 'okLabel', 'onDismiss', 'onFocus', 'onShow', 'onClick', 'showCalendarDate', 'showCalendarStatus', 'start', 'startLabel', 'startLabelDate', 'startLabelTime', 'style', 'textFieldStyle', 'utils']); 483 |