@types/react-big-calendar
Advanced tools
Comparing version 0.24.0 to 0.24.1
@@ -19,2 +19,3 @@ // Type definitions for react-big-calendar 0.24 | ||
// Felix Hessenberger <https://github.com/fhessenberger> | ||
// Tom Price <https://github.com/tomtom5152> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -39,2 +40,8 @@ // TypeScript Version: 2.8 | ||
}; | ||
export type DayLayoutFunction<TEvent extends object = Event> = (_: { | ||
events: TEvent[], | ||
minimumStartDifference: number, | ||
slotMetrics: any, | ||
accessors: any, | ||
}) => Array<{ event: TEvent, style: React.CSSProperties }>; | ||
export type DayLayoutAlgorithm = 'overlap' | 'no-overlap'; | ||
@@ -302,3 +309,3 @@ export type NavigateAction = 'PREV' | 'NEXT' | 'TODAY' | 'DATE'; | ||
messages?: Messages; | ||
dayLayoutAlgorithm?: DayLayoutAlgorithm; | ||
dayLayoutAlgorithm?: DayLayoutAlgorithm | DayLayoutFunction<TEvent>; | ||
titleAccessor?: keyof TEvent | ((event: TEvent) => string); | ||
@@ -305,0 +312,0 @@ tooltipAccessor?: keyof TEvent | ((event: TEvent) => string); |
{ | ||
"name": "@types/react-big-calendar", | ||
"version": "0.24.0", | ||
"version": "0.24.1", | ||
"description": "TypeScript definitions for react-big-calendar", | ||
@@ -86,2 +86,7 @@ "license": "MIT", | ||
"githubUsername": "fhessenberger" | ||
}, | ||
{ | ||
"name": "Tom Price", | ||
"url": "https://github.com/tomtom5152", | ||
"githubUsername": "tomtom5152" | ||
} | ||
@@ -101,4 +106,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "296d560ce3895581746f1666658683e6aae4ed3f2632e192241b32643442edd6", | ||
"typeScriptVersion": "2.8" | ||
"typesPublisherContentHash": "a9ef5205791a7132993a489b1c8b8afb4822964af84f4607e47d2462bd90b5ef", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 20 Feb 2020 18:42:37 GMT | ||
* Last updated: Mon, 18 May 2020 18:43:27 GMT | ||
* Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by [Piotr Witek](https://github.com/piotrwitek), [Austin Turner](https://github.com/paustint), [Krzysztof Bezrąk](https://github.com/pikpok), [Sebastian Silbermann](https://github.com/eps1lon), [Paul Potsides](https://github.com/strongpauly), [janb87](https://github.com/janb87), [Daniel Thorne](https://github.com/ldthorne), [Panagiotis Rikarnto Siavelis](https://github.com/siavelis), [Tomas Hubelbauer](https://github.com/TomasHubelbauer), [Lucas Silva Souza](https://github.com/lksilva), [Siarhey Belofost](https://github.com/SergeyBelofost), [Mark Nelissen](https://github.com/marknelissen), [Eric Kenney](https://github.com/KenneyE), [Paito Anderson](https://github.com/PaitoAnderson), [Jan Michalak](https://github.com/michalak111), and [Felix Hessenberger](https://github.com/fhessenberger). | ||
These definitions were written by [Piotr Witek](https://github.com/piotrwitek), [Austin Turner](https://github.com/paustint), [Krzysztof Bezrąk](https://github.com/pikpok), [Sebastian Silbermann](https://github.com/eps1lon), [Paul Potsides](https://github.com/strongpauly), [janb87](https://github.com/janb87), [Daniel Thorne](https://github.com/ldthorne), [Panagiotis Rikarnto Siavelis](https://github.com/siavelis), [Tomas Hubelbauer](https://github.com/TomasHubelbauer), [Lucas Silva Souza](https://github.com/lksilva), [Siarhey Belofost](https://github.com/SergeyBelofost), [Mark Nelissen](https://github.com/marknelissen), [Eric Kenney](https://github.com/KenneyE), [Paito Anderson](https://github.com/PaitoAnderson), [Jan Michalak](https://github.com/michalak111), [Felix Hessenberger](https://github.com/fhessenberger), and [Tom Price](https://github.com/tomtom5152). |
Sorry, the diff of this file is not supported yet
20223
353