react-bootstrap-datetimerangepicker
react-bootstrap-datetimerangepicker copied to clipboard
Cannot read property 'any' of undefined at startDate: PropTypes.any
Hi I am getting the following error when I used one of your examples in my project
Cannot read property 'any' of undefined
When I followed the error in bundle file, it showed the error at proptype definitions in the DatetimeRangePicker component
static propTypes = {
startDate: PropTypes.any,
endDate: PropTypes.any,
children: PropTypes.any,
className: PropTypes.string,
style: PropTypes.object,
callback: PropTypes.func,
onEvent: PropTypes.func,
onShow: PropTypes.func,
onHide: PropTypes.func,
onShowCalendar: PropTypes.func,
onHideCalendar: PropTypes.func,
onApply: PropTypes.func,
onCancel: PropTypes.func,
};
at startDate: PropTypes.any