bento-charts
Version:
Charts library for Bento-platform
17 lines (16 loc) • 778 B
TypeScript
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;