@types/react-big-calendar
Advanced tools
Comparing version 0.14.0 to 0.15.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for react-big-calendar 0.14.0 | ||
// Type definitions for react-big-calendar 0.15.0 | ||
// Project: https://github.com/intljusticemission/react-big-calendar | ||
@@ -12,2 +12,10 @@ // Definitions by: Piotr Witek <http://piotrwitek.github.io> | ||
interface CalendarEvent { | ||
title: string; | ||
allDay: boolean; | ||
start: Date; | ||
end: Date; | ||
desc: string; | ||
} | ||
interface BigCalendarProps extends React.Props<BigCalendar> { | ||
@@ -20,3 +28,3 @@ date?: stringOrDate; | ||
onSelectSlot?: (slotInfo: { start: stringOrDate, end: stringOrDate, slots: Date[] | string[] }) => void; | ||
onSelectEvent?: (event: Object) => void; | ||
onSelectEvent?: (event: CalendarEvent) => void; | ||
onSelecting?: (slotInfo: { start: stringOrDate, end: stringOrDate }) => boolean; | ||
@@ -23,0 +31,0 @@ views?: Object; |
{ | ||
"name": "@types/react-big-calendar", | ||
"version": "0.14.0", | ||
"version": "0.15.0", | ||
"description": "TypeScript definitions for react-big-calendar", | ||
@@ -21,5 +21,4 @@ "license": "MIT", | ||
}, | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "831b15b29ba9c38fe9268a9166467bc3e19af3db6d0080a6b972cc5dbd1956d7", | ||
"typesPublisherContentHash": "6afe0499601e780a5c4b8b82863770140834e81c1e7a3dbf70a5d670843f9356", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 07 Jul 2017 20:52:56 GMT | ||
* Last updated: Tue, 26 Sep 2017 00:11:47 GMT | ||
* Dependencies: react | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
4725
59