Skip to content

Commit

Permalink
fix: controlComponent prop type (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
daixianceng committed Jun 21, 2019
1 parent 92eea47 commit 70d8d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ControlField/ControlField.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ if (process.env.NODE_ENV !== 'production') {
falseValue: PropTypes.any,
label: PropTypes.node,
controlLabel: PropTypes.node,
controlComponent: PropTypes.func.isRequired,
controlComponent: PropTypes.any.isRequired,
helperText: PropTypes.node,
onChange: PropTypes.func,
ControlProps: PropTypes.object,
Expand Down

0 comments on commit 70d8d9f

Please sign in to comment.