Skip to content

Commit 5c61618

Browse files
m.volkovm.volkov
authored andcommitted
Value isn't required prop for now.
1 parent 9aba24f commit 5c61618

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
examples/*
2+
src/*
13
etc/*
24
node_modules
35
.DS_Store

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-material-ui-form-validator",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Simple validator for forms designed with material-ui components.",
55
"main": "./lib/index.js",
66
"scripts": {

src/ValidatorComponent.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ ValidatorComponent.propTypes = {
109109
value: React.PropTypes.oneOfType([
110110
React.PropTypes.string,
111111
React.PropTypes.number,
112-
]).isRequired,
112+
]),
113113
};
114114

115115
ValidatorComponent.defaultProps = {

0 commit comments

Comments
 (0)