UNPKG

react-beautiful-heatmap

Version:

A calendar heatmap component built on SVG

13 lines (11 loc) 574 B
import { SquareProps } from './Square'; import { IValue, LayoutType, ValueCacheType } from '../types'; interface WeeksProps extends Omit<SquareProps, 'squareCoordinates' | 'index' | 'value' | 'getClassNameForIndex'> { weeks: number[]; valueCache: Record<number, ValueCacheType>; squareSizeWithGutter: number; layout: LayoutType; classForValue: (value?: IValue) => string; } declare const Weeks: ({ weeks, valueCache, squareSizeWithGutter, layout, classForValue, ...rest }: WeeksProps) => import("react/jsx-runtime").JSX.Element[]; export default Weeks;