Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

react-datepicker

Package Overview
Dependencies
Maintainers
2
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-datepicker - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

2

bower.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc