@mui/x-charts
Version:
The community edition of the Charts components (MUI X).
18 lines • 581 B
TypeScript
import { ChartsLocaleText } from "./chartsLocaleTextApi.js";
/**
* Helper to pass translation to all charts thanks to the MUI theme.
* @param chartsTranslations The translation object.
* @returns an object to pass the translation by using the MUI theme default props
*/
export declare const getChartsLocalization: (chartsTranslations: Partial<ChartsLocaleText>) => {
components: {
MuiChartsLocalizationProvider: {
defaultProps: {
localeText: {
loading?: string | undefined;
noData?: string | undefined;
};
};
};
};
};