Skip to content

Commit

Permalink
Value isn't required prop for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
m.volkov authored and m.volkov committed Mar 7, 2017
1 parent 9aba24f commit 5c61618
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
examples/*
src/*
etc/*
node_modules
.DS_Store
Expand Down
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.1.0",
"version": "0.1.1",
"description": "Simple validator for forms designed with material-ui components.",
"main": "./lib/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/ValidatorComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ ValidatorComponent.propTypes = {
value: React.PropTypes.oneOfType([
React.PropTypes.string,
React.PropTypes.number,
]).isRequired,
]),
};

ValidatorComponent.defaultProps = {
Expand Down

0 comments on commit 5c61618

Please sign in to comment.