@types/react-big-calendar
Advanced tools
Comparing version 0.22.2 to 0.22.3
@@ -30,7 +30,7 @@ // Type definitions for react-big-calendar 0.22 | ||
export type ViewsProps = View[] | { | ||
work_week?: boolean | React.SFC | React.Component, | ||
day?: boolean | React.SFC | React.Component, | ||
agenda?: boolean | React.SFC | React.Component, | ||
month?: boolean | React.SFC | React.Component, | ||
week?: boolean | React.SFC | React.Component | ||
work_week?: boolean | React.ComponentType<any> & ViewStatic, | ||
day?: boolean | React.ComponentType<any> & ViewStatic, | ||
agenda?: boolean | React.ComponentType<any> & ViewStatic, | ||
month?: boolean | React.ComponentType<any> & ViewStatic, | ||
week?: boolean | React.ComponentType<any> & ViewStatic | ||
}; | ||
@@ -313,4 +313,11 @@ export type NavigateAction = 'PREV' | 'NEXT' | 'TODAY' | 'DATE'; | ||
export interface TitleOptions { | ||
formats: DateFormat[]; | ||
culture?: string; | ||
[propName: string]: any; | ||
} | ||
export interface ViewStatic { | ||
navigate(date: Date, action: NavigateAction, props: any): Date; | ||
title(date: Date, options: TitleOptions): string; | ||
} | ||
@@ -317,0 +324,0 @@ |
{ | ||
"name": "@types/react-big-calendar", | ||
"version": "0.22.2", | ||
"version": "0.22.3", | ||
"description": "TypeScript definitions for react-big-calendar", | ||
@@ -95,4 +95,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "892060e94aaed4619329aa80e279e4e61a364927d6cdfafcb0f19923c91afd38", | ||
"typesPublisherContentHash": "39b484bb047e655fc3a613c7e20083a8914aae9dee24d4235238ae394111849c", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 27 Aug 2019 22:01:44 GMT | ||
* Last updated: Mon, 23 Sep 2019 17:22:46 GMT | ||
* Dependencies: @types/prop-types, @types/react | ||
@@ -14,0 +14,0 @@ * Global values: none |
19055
340