Skip to content

Commit b2cf3ae

Browse files
committed
fix: Prop type "any" is forbidden
1 parent ec1833f commit b2cf3ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MKDatePicker/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ MKDatePicker.defaultProps = {
4343

4444
// Typechecking props for the MKDatePicker
4545
MKDatePicker.propTypes = {
46-
input: PropTypes.objectOf(PropTypes.any),
46+
input: PropTypes.objectOf(PropTypes.oneOfType([PropTypes.any])),
4747
};
4848

4949
export default MKDatePicker;

0 commit comments

Comments
 (0)