The controlDate propType is currently set to PropTypes.object
The documentation states in should PropTypes.any and based on how it is used (it expects a string so it can be converted to a moment date) it should be any or string.
I don't think this bug breaks anything but its a quick fix and saves a warning.
The controlDate propType is currently set to
PropTypes.object
The documentation states in should
PropTypes.any
and based on how it is used (it expects a string so it can be converted to a moment date) it should be any or string.I don't think this bug breaks anything but its a quick fix and saves a warning.