Skip to content

Commit

Permalink
Add react-big-calendar backgroundEvents
Browse files Browse the repository at this point in the history
  • Loading branch information
jhnns committed Mar 29, 2021
1 parent 7c785c2 commit 16eec03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/react-big-calendar/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ export interface CalendarProps<TEvent extends object = Event, TResource extends
getNow?: () => Date;
view?: View;
events?: TEvent[];
backgroundEvents?: TEvent[];
handleDragStart?: (event: TEvent) => void;
onNavigate?: (newDate: Date, view: View, action: NavigateAction) => void;
onView?: (view: View) => void;
Expand Down Expand Up @@ -399,6 +400,7 @@ export function move(View: ViewStatic | ViewKey, options: MoveOptions): Date;
export interface TimeGridProps<TEvent extends object = Event, TResource extends object = object> {
eventOffset: number;
events?: TEvent[];
backgroundEvents?: TEvent[];
resources?: TResource[];
step?: number;
timeslots?: number;
Expand Down

0 comments on commit 16eec03

Please sign in to comment.