UNPKG

react-native-chart-kit

Version:

Beautiful React Native charts for dashboards, reports, and data-rich mobile apps.

17 lines 1.09 kB
import type { LegacyContributionValue } from "../../../core/index"; import type { CartesianChartPresetRegistry, CartesianChartPresetValue, CartesianChartTheme, ResolvedChartKitThemeMode } from "../../theme/presets"; import type { ContributionGraphModel, ContributionGraphProps } from "./types"; type ContributionGraphThemeContextValue = { mode: ResolvedChartKitThemeMode; preset: CartesianChartPresetValue; presets: CartesianChartPresetRegistry; theme: CartesianChartTheme | undefined; }; export declare const getContributionGraphMonthLabel: (monthIndex: number, date: Date, formatter: ContributionGraphProps["getMonthLabel"]) => string; export declare const getContributionGraphWeekdayLabel: (dayIndex: number, formatter: ContributionGraphProps["getWeekdayLabel"]) => string; export declare const buildContributionGraphModel: <TData extends LegacyContributionValue>({ chartKitTheme, props }: { chartKitTheme: ContributionGraphThemeContextValue; props: ContributionGraphProps<TData>; }) => ContributionGraphModel<TData>; export {}; //# sourceMappingURL=model.d.ts.map