react-date-picker
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -98,10 +98,9 @@ 'use strict' | ||
onSelect={onSelect} | ||
view={VIEW} | ||
onViewChange={onViewChange} | ||
onViewDateChange={onViewDateChange} | ||
xview={VIEW} | ||
xonViewChange={onViewChange} | ||
xonViewDateChange={onViewDateChange} | ||
onRenderDay={renderDay} | ||
xweekStartDay={0} | ||
weekStartDay={0} | ||
locale={LOCALE} | ||
todayText={today} | ||
weekDayNames={['SUND','mon','marti','miercuri','joi','vineri','sam']} | ||
minDate='2013-04-04' maxDate='2015-10-10' date={v} onChange={this.onChange}/> | ||
@@ -108,0 +107,0 @@ |
{ | ||
"name": "react-date-picker", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "React Date Picker", | ||
@@ -65,2 +65,2 @@ "main": "lib/index.js", | ||
"homepage": "https://github.com/zippyui/react-date-picker" | ||
} | ||
} |
@@ -166,2 +166,2 @@ react-date-picker | ||
```MIT``` | ||
#### MIT |
@@ -33,3 +33,3 @@ 'use strict' | ||
//the view to render initially. Possible values are: 'month', 'year', 'decade' | ||
view: 'month', | ||
view: null, | ||
@@ -36,0 +36,0 @@ //the date to mark as selected in the date picker. |
@@ -75,5 +75,7 @@ 'use strict' | ||
getViewName: function() { | ||
return this.props.view != null? | ||
var view = this.props.view != null? | ||
this.props.view: | ||
this.state.view || 'month' | ||
this.state.view | ||
return view || 'month' | ||
}, | ||
@@ -80,0 +82,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1412279