react-weekview
Version:
Week view component and hook for React
9 lines (8 loc) • 328 B
TypeScript
import { ReactNode } from "react";
import { Cell, Days } from "./use-weekview";
export default function Grid({ days, rowHeight, CellContent, onCellClick, }: {
days: Days;
rowHeight: number;
onCellClick?: (cell: Cell) => void;
CellContent?: (cell: Cell) => ReactNode;
}): import("react/jsx-runtime").JSX.Element;