opened
abdulhaseeb07a
username_0
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  />
        );
    }
}
Uncaught TypeError: Cannot read property 'func' of undefined
issue
created
rainitesh
username_1
I am getting this error too. Has this been resolved?
comment
created
dovrosenberg
username_2
+1
comment
created
patrickwallesch
username_3
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 !! :)
comment
created
DariuS231
username_4
+1
comment
created
MaxVinogradov
username_5
+1
comment
created
1john
username_6
+1
comment
created
thesnowgoose
username_7
How do I update it?
comment
created
1john
username_6
https://reactjs.org/docs/typechecking-with-proptypes.html
comment