@symbiot.dev/react-native-heatmap
Version:
A lightweight and customizable activity graph for React Native, perfect for visualizing user engagement, habits, streaks, or productivity over time.
11 lines (10 loc) • 360 B
TypeScript
import { HeatMapThemeProps } from '../types/heatmap';
export declare const useTheme: (theme?: HeatMapThemeProps) => {
getCellColor: (count: number) => string;
headerTextColor: string;
cellDefaultColor: string;
cellTextColor: string;
sidebarTextColor: string;
cellColor: Record<number, string>;
sortedColorResolverKeys: number[];
};