mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Merge pull request #34616 from TomasHubelbauer/patch-1
Fix the onRangeChange event types in react-big-calendar
This commit is contained in:
3
types/react-big-calendar/index.d.ts
vendored
3
types/react-big-calendar/index.d.ts
vendored
@@ -8,6 +8,7 @@
|
||||
// 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>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.8
|
||||
@@ -252,7 +253,7 @@ export interface BigCalendarProps<TEvent extends Event = Event, TResource extend
|
||||
onDoubleClickEvent?: (event: TEvent, e: React.SyntheticEvent<HTMLElement>) => void;
|
||||
onSelectEvent?: (event: TEvent, e: React.SyntheticEvent<HTMLElement>) => void;
|
||||
onSelecting?: (range: { start: stringOrDate, end: stringOrDate }) => boolean | undefined | null;
|
||||
onRangeChange?: (range: { start: stringOrDate, end: stringOrDate }) => void;
|
||||
onRangeChange?: (range: Array<Date | { start: stringOrDate, end: stringOrDate }>) => void;
|
||||
selected?: any;
|
||||
views?: Views;
|
||||
drilldownView?: View | null;
|
||||
|
||||
Reference in New Issue
Block a user