UNPKG

@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.

12 lines (11 loc) 304 B
import { HeatMapDatetimeProps } from '../types/heatmap'; import { Day } from 'date-fns/types'; export declare const useDatetime: (props: HeatMapDatetimeProps & { baseDuration: number; weekStartsOn: Day; }) => { start: Date; end: Date; hiddenDays: Day[]; visibleDays: number[]; };