@ahultgren/yawv-react
Version:
Work in progress. Made for learning purposes only. Expect nothing.
18 lines (17 loc) • 710 B
TypeScript
import { Event } from "./Event/Event";
import { Props as HoursProps } from "./Hours/Hours";
import { Props as WeekViewContextProps } from "./WeekViewContext";
export type Props = {
fromDate?: Date;
toDate?: Date;
fromHour?: HoursProps["fromHour"];
toHour?: HoursProps["toHour"];
events?: Event[];
styles?: WeekViewContextProps["styles"];
locale?: WeekViewContextProps["locale"];
};
/**
* Demonstrates all the features of WeekView. Use the controls below to play
* with the number of days or hours, for example.
*/
export declare function WeekView({ fromDate, toDate, fromHour, toHour, events, styles, locale, }?: Props): import("react/jsx-runtime").JSX.Element;