0
Fork 0
mirror of https://github.com/TanStack/time.git synced 2026-11-16 19:09:47 +00:00
time/docs/reference/functions/getEventProps.md
2026-08-22 23:22:16 +00:00

1.3 KiB

id title
getEventProps getEventProps

Function: getEventProps()

function getEventProps(
   eventMap, 
   event, 
   state, 
   options): 
  | {
  end: string;
  isSplitEvent: boolean;
  overlappingEvents: Event<Resource>[];
  start: string;
}
  | {
  end: string;
  isSplitEvent: boolean;
  layout: EventLayout;
  overlappingEvents: Event<Resource>[];
  start: string;
  style: LayoutStyle;
};

Defined in: calendar/getEventProps.ts:60

Parameters

eventMap

Map<string, Event<Resource>[]>

event

Event

state

CalendarStore

options

GetEventPropsOptions

Returns

| { end: string; isSplitEvent: boolean; overlappingEvents: Event<Resource>[]; start: string; } | { end: string; isSplitEvent: boolean; layout: EventLayout; overlappingEvents: Event<Resource>[]; start: string; style: LayoutStyle; }