Skip to content

Commit

Permalink
Added object propType to value.
Browse files Browse the repository at this point in the history
  • Loading branch information
m.volkov authored and m.volkov committed Apr 28, 2017
1 parent 655ae7d commit 5529083
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-material-ui-form-validator",
"version": "0.3.0",
"version": "0.3.1",
"description": "Simple validator for forms designed with material-ui components.",
"main": "./lib/index.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/ValidatorComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ ValidatorComponent.propTypes = {
validators: PropTypes.array,
name: PropTypes.string,
value: PropTypes.oneOfType([
PropTypes.object,
PropTypes.string,
PropTypes.number,
]),
Expand Down

0 comments on commit 5529083

Please sign in to comment.