mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Fix indentation
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
import BigCalendar, { BigCalendarProps, Event } from 'react-big-calendar';
|
||||
import BigCalendar, { BigCalendarProps, Event } from 'react-big-calendar';
|
||||
|
||||
type withDragAndDropProps<TEvent> = {
|
||||
onEventDrop?: (args: { event: TEvent, start: stringOrDate, end: stringOrDate, allDay: boolean }) => void;
|
||||
onEventResize?: (args: { event: TEvent, start: stringOrDate, end: stringOrDate, allDay: boolean }) => void;
|
||||
resizable?: boolean;
|
||||
};
|
||||
type withDragAndDropProps<TEvent> = {
|
||||
onEventDrop?: (args: { event: TEvent, start: stringOrDate, end: stringOrDate, allDay: boolean }) => void;
|
||||
onEventResize?: (args: { event: TEvent, start: stringOrDate, end: stringOrDate, allDay: boolean }) => void;
|
||||
resizable?: boolean;
|
||||
};
|
||||
|
||||
declare class DragAndDropCalendar<TEvent extends Event = Event, TResource extends object = object>
|
||||
extends React.Component<BigCalendarProps<TEvent, TResource> & withDragAndDropProps<TEvent>>, {}
|
||||
declare class DragAndDropCalendar<TEvent extends Event = Event, TResource extends object = object>
|
||||
extends React.Component<BigCalendarProps<TEvent, TResource> & withDragAndDropProps<TEvent>>, {}
|
||||
|
||||
function withDragAndDrop(calendar: typeof BigCalendar): typeof DragAndDropCalendar;
|
||||
export = withDragAndDrop;
|
||||
|
||||
function withDragAndDrop(calendar: typeof BigCalendar): typeof DragAndDropCalendar;
|
||||
export = withDragAndDrop;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user