UNPKG

victory-native

Version:

[![Victory Native](https://oss.nearform.com/api/banner?badge=victory&text=victory+native&bg=9c2f1e)](https://commerce.nearform.com/open-source/victory-native/)

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 {};