ts • Lines: 18import { Props as ActivityCalendarProps } from 'react-activity-calendar';
export type Activity = {
date: string;
count: number;
level: 0 | 1 | 2 | 3 | 4;
};
export type Year = number | "last";
export type Props = {
username: string;
errorMessage?: string;
throwOnError?: boolean;
transformData?: (data: Array<Activity>) => Array<Activity>;
year?: Year;
} & Omit<ActivityCalendarProps, "data">;
export declare const GitHubCalendar: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLElement>>;
export {};