@lobehub/charts
Version:
React modern charts components built on recharts
19 lines (18 loc) • 571 B
TypeScript
import { ReactNode } from 'react';
import type { Activity, Labels, Week } from "../types/charts";
interface CalendarProps {
blockMargin: number;
blockRadius: number;
blockSize: number;
colorScale: string[];
customTooltip?: (activity: Activity) => ReactNode;
enableAnimation: boolean;
labelHeight: number;
labels: Labels;
maxLevel: number;
onValueChange?: (value: Activity) => void;
showTooltip: boolean;
weeks: Week[];
}
declare const Calendar: import("react").NamedExoticComponent<CalendarProps>;
export default Calendar;