@abbl/material-calendar
Version:
Calendar component build with React and Material-UI
14 lines (13 loc) • 499 B
TypeScript
import { ReactElement } from 'react';
import CalendarEvent from '../../../../common/api/CalendarEvent';
export interface DayEventGridProps {
/**
* Sorted array of calendarEvents from oldest to newest event.
*/
calendarEvents: CalendarEvent[];
}
/**
* Grid that displays all provided calendarEvents over DayGrid.
* To make grid more readable events are "chained" together to share available space.
*/
export default function DayEventGrid(props: DayEventGridProps): ReactElement;