Socket
Socket
Sign inDemoInstall

@types/react-dates

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-dates - npm Package Compare versions

Comparing version 16.7.0 to 17.1.0

29

react-dates/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for react-dates v16.7.0
// Type definitions for react-dates v17.1.0
// Project: https://github.com/airbnb/react-dates

@@ -68,3 +68,10 @@ // Definitions by: Artur Ampilogov <https://github.com/ArturAmpilogov>

// calendar presentation and interaction related props
renderMonth?: (day: momentPropTypes.momentObj) => (string | JSX.Element),
renderMonthText?: (day: momentPropTypes.momentObj) => (string | JSX.Element),
renderMonthElement?: (
props: {
month: momentPropTypes.momentObj;
onMonthSelect: (currentMonth: momentPropTypes.momentObj, newMonthVal: string) => void;
onYearSelect: (currentMonth: momentPropTypes.momentObj, newYearVal: string) => void;
}
) => string | JSX.Element,
orientation?: OrientationShape,

@@ -168,3 +175,10 @@ anchorDirection?: AnchorDirectionShape,

// calendar presentation and interaction related props
renderMonth?: (day: momentPropTypes.momentObj) => (string | JSX.Element),
renderMonthText?: (day: momentPropTypes.momentObj) => (string | JSX.Element),
renderMonthElement?: (
props: {
month: momentPropTypes.momentObj;
onMonthSelect: (currentMonth: momentPropTypes.momentObj, newMonthVal: string) => void;
onYearSelect: (currentMonth: momentPropTypes.momentObj, newYearVal: string) => void;
}
) => string | JSX.Element,
orientation?: OrientationShape,

@@ -391,3 +405,10 @@ anchorDirection?: AnchorDirectionShape,

interface DayPickerShape {
renderMonth?: (day: momentPropTypes.momentObj) => (string | JSX.Element),
renderMonthText?: (day: momentPropTypes.momentObj) => (string | JSX.Element),
renderMonthElement?: (
props: {
month: momentPropTypes.momentObj;
onMonthSelect: (currentMonth: momentPropTypes.momentObj, newMonthVal: string) => void;
onYearSelect: (currentMonth: momentPropTypes.momentObj, newYearVal: string) => void;
}
) => string | JSX.Element,
enableOutsideDays?: boolean,

@@ -394,0 +415,0 @@ numberOfMonths?: number,

4

react-dates/package.json
{
"name": "@types/react-dates",
"version": "16.7.0",
"version": "17.1.0",
"description": "TypeScript definitions for react-dates",

@@ -28,4 +28,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "62555e798f953e22d37131f1ca831d0201b45bed078f3cc86e25c020adb42bb5",
"typesPublisherContentHash": "a9e19df02d4c6ff9d01e9c605670195f3dbed1dc43ecdf5d2718dd3b6b1c59fd",
"typeScriptVersion": "2.6"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Wed, 13 Jun 2018 19:16:57 GMT
* Last updated: Mon, 23 Jul 2018 23:44:12 GMT
* Dependencies: react, moment

@@ -14,0 +14,0 @@ * Global values: none

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