UNPKG

bento-charts

Version:
17 lines (16 loc) 778 B
import type { ReactNode } from 'react'; import type { ChartTheme, LngDictionary, TranslationObject } from './types/chartTypes'; export declare function useChartTheme(): ChartTheme; export declare function useChartTranslation(): LngDictionary; export declare function useChartThreshold(): number; export declare function useChartMaxLabelChars(): number; declare const ChartConfigProvider: ({ theme, Lng, translationMap, children, globalThreshold, maxLabelChars, }: ChartConfigProviderProps) => import("react/jsx-runtime").JSX.Element | null; type ChartConfigProviderProps = { theme?: ChartTheme; Lng: string; translationMap?: TranslationObject; children: ReactNode; globalThreshold?: number; maxLabelChars?: number; }; export default ChartConfigProvider;