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

Uncaught TypeError: Cannot read property 'func' of undefined

Open abdulhaseeb07a opened this issue 7 years ago • 8 comments

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 /> ); } }

abdulhaseeb07a avatar Feb 01 '18 14:02 abdulhaseeb07a

I am getting this error too. Has this been resolved?

rainitesh avatar Feb 08 '18 03:02 rainitesh

+1

dovrosenberg avatar Mar 01 '18 15:03 dovrosenberg

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 !! :)

patrickwallesch avatar Mar 05 '18 10:03 patrickwallesch

+1

DariuS231 avatar Mar 19 '18 22:03 DariuS231

+1

MaxVynohradov avatar Apr 25 '18 12:04 MaxVynohradov

+1

1john avatar Jun 11 '18 17:06 1john

How do I update it?

thesnowgoose avatar Jun 16 '18 19:06 thesnowgoose

https://reactjs.org/docs/typechecking-with-proptypes.html

1john avatar Jun 16 '18 19:06 1john