react-native-chart-kit
Version:
Beautiful React Native charts for dashboards, reports, and data-rich mobile apps.
15 lines • 727 B
TypeScript
import type { CartesianChartPresetRegistry, CartesianChartPresetValue, CartesianChartTheme, ResolvedChartKitThemeMode } from "../../theme/presets";
import type { PieChartModel, PieChartProps } from "./types";
type PieChartThemeContextValue = {
mode: ResolvedChartKitThemeMode;
preset: CartesianChartPresetValue;
presets: CartesianChartPresetRegistry;
theme: CartesianChartTheme | undefined;
};
export declare const buildPieChartModel: <TData extends Record<string, unknown>>({ chartKitTheme, props, selectedIndex }: {
chartKitTheme: PieChartThemeContextValue;
props: PieChartProps<TData>;
selectedIndex?: number | undefined;
}) => PieChartModel<TData>;
export {};
//# sourceMappingURL=model.d.ts.map