UNPKG

victory-native

Version:

A charting library for React Native with a focus on performance and customization.

26 lines (25 loc) 748 B
import React, { type PropsWithChildren } from "react"; interface PolarChartContext { data: Record<string, unknown>[]; canvasSize: { width: number; height: number; }; labelKey: string; valueKey: string; colorKey: string; } declare const PolarChartContext: React.Context<PolarChartContext | undefined>; interface PolarChartProviderProps { data: Record<string, unknown>[]; canvasSize: { width: number; height: number; }; labelKey: string; valueKey: string; colorKey: string; } export declare const PolarChartProvider: (props: PropsWithChildren<PolarChartProviderProps>) => React.JSX.Element; export declare const usePolarChartContext: () => PolarChartContext; export {};