react-datepicker
Advanced tools
Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "react-date-picker", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"authors": [ | ||
@@ -5,0 +5,0 @@ "Remon Oldenbeuving <remon@hackerone.com>", |
@@ -5,3 +5,3 @@ { | ||
"description": "A simple and reusable datepicker component for React", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "homepage": "https://github.com/Hacker0x01/react-datepicker", |
@@ -15,2 +15,3 @@ # React Date Picker | ||
- Add placeholder text: `placeholderText: 'Click to select a date'` (Defaults to the selected date when no placeholder text is added) | ||
- Give users a predefined date range: `minDate: moment()` & `maxDate: moment().add(5, 'days')` (this gives users the ability to select a date between today and 5 days in the future) | ||
@@ -17,0 +18,0 @@ ## Installation |
@@ -15,3 +15,2 @@ /** @jsx React.DOM */ | ||
'datepicker__day--selected': this.props.day.sameDay(this.props.selected), | ||
'datepicker__day--this-month': this.props.day.sameMonth(this.props.date), | ||
'datepicker__day--today': this.props.day.sameDay(moment()) | ||
@@ -18,0 +17,0 @@ }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
50777
38
1247