UNPKG

@uiw/react-heat-map

Version:

React component create calendar heatmap to visualize time series data, a la github contribution graph.

19 lines (18 loc) 505 B
import { FC, PropsWithChildren } from "react"; import { RectProps } from './Rect'; import { SVGProps } from './SVG'; type DayProps = { transform?: string; gridNum?: number; initStartDate: Date; endDate?: Date; rectProps?: RectProps; rectSize?: number; space?: number; startY?: number; rectRender?: SVGProps['rectRender']; panelColors?: SVGProps['panelColors']; value?: SVGProps['value']; }; export declare const Day: FC<PropsWithChildren<DayProps>>; export {};