react-bootstrap-datetimerangepicker icon indicating copy to clipboard operation
react-bootstrap-datetimerangepicker copied to clipboard

Cannot read property 'any' of undefined at startDate: PropTypes.any

Open sruthisripathi opened this issue 6 years ago • 7 comments

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

sruthisripathi avatar Apr 04 '18 06:04 sruthisripathi