Comparing version 0.0.8 to 0.0.9
@@ -179,3 +179,5 @@ 'use strict'; | ||
value: function cleanErrors() { | ||
this.setState({ errors: {} }); | ||
var errors = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
this.setState({ errors: errors }); | ||
} | ||
@@ -182,0 +184,0 @@ |
{ | ||
"name": "form-lib", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Form component for React", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
31859
580