UNPKG

@uiw/react-heat-map

Version:

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

14 lines (13 loc) 472 B
import type { CSSProperties } from 'react'; import type { HeatMapValue, SVGProps } from './SVG'; import React from 'react'; export declare const rectStyle: CSSProperties; export interface RectProps extends React.SVGProps<SVGRectElement> { value?: HeatMapValue & { column: number; row: number; index: number; }; render?: SVGProps['rectRender']; } export declare const Rect: (props: RectProps) => import("react/jsx-runtime").JSX.Element;