bee-datepicker
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -99,3 +99,3 @@ "use strict"; | ||
hoverValue: [], | ||
value: [] | ||
value: props.defaultValue || [] | ||
}; | ||
@@ -107,3 +107,3 @@ return _this; | ||
this.setState({ | ||
value: [] | ||
value: nextProps.defaultValue || [] | ||
}); | ||
@@ -110,0 +110,0 @@ }; |
@@ -32,3 +32,3 @@ /** | ||
this.state = { | ||
value: '' | ||
value: [moment('2017-01-11'),moment('2017-01-19')] | ||
}; | ||
@@ -35,0 +35,0 @@ } |
{ | ||
"name": "bee-datepicker", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "DatePicker ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -44,3 +44,3 @@ /** | ||
hoverValue: [], | ||
value: [] , | ||
value: props.defaultValue || [], | ||
}; | ||
@@ -50,3 +50,3 @@ } | ||
this.setState({ | ||
value:[] | ||
value:nextProps.defaultValue || [] | ||
}) | ||
@@ -53,0 +53,0 @@ } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3325950