react-bootstrap-datetimepicker
react-bootstrap-datetimepicker copied to clipboard
Uncaught TypeError: Cannot read property 'func' of undefined
I am getting this error i just try the sample code below
const DateTimeField = require('react-bootstrap-datetimepicker')
export class HorizontalCustomLabels extends React.Component<HelloProps, StateProp> { constructor() { super() } render() { return ( <DateTimeField /> ); } }
I am getting this error too. Has this been resolved?
+1
React deprecated ther use of PropType directly from React https://reactjs.org/blog/2017/04/07/react-v15.5.0.html#migrating-from-reactproptypes
Please update !! :)
+1
+1
+1
How do I update it?
https://reactjs.org/docs/typechecking-with-proptypes.html