This repository was archived by the owner on Sep 9, 2021. It is now read-only.

Description
hi
TypeError: Cannot read property 'object' of undefined
(anonymous function)
C:/Users/ali/Documents/erp/node_modules/react-datepicker-fa/dist/index.js:21010
21007 | }(_react.Component);
21008 |
21009 | Heading.propTypes = {
21010 | month: _react.PropTypes.object.isRequired,
21011 | isGregorian: _react.PropTypes.bool
21012 | };
21013 | Heading.contextTypes
my code:
state ={dateValue:moment()}
<DatePicker
isGregorian={false}
value={this.state.dateValue}
onChange={(value) => {
console.log(value);
this.setState({ dateValue: value });
}}
/>