@mui/x-charts
Version:
The community edition of MUI X Charts components.
12 lines • 1.05 kB
TypeScript
import { type ChartsSurfaceProps } from "../ChartsSurface/index.js";
import { type ChartsDataProviderProps } from "../ChartsDataProvider/index.js";
import type { ChartsContainerProps } from "./ChartsContainer.js";
import { type ChartSeriesType } from "../models/seriesType/config.js";
import { type AllPluginSignatures } from "../internals/plugins/allPlugins.js";
import { type ChartAnyPluginSignature } from "../internals/plugins/models/plugin.js";
export type UseChartsContainerPropsReturnValue<SeriesType extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = {
chartsDataProviderProps: ChartsDataProviderProps<SeriesType, TSignatures>;
chartsSurfaceProps: ChartsSurfaceProps;
children: React.ReactNode;
};
export declare const useChartsContainerProps: <SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>>(props: ChartsContainerProps<SeriesType, TSignatures>) => UseChartsContainerPropsReturnValue<SeriesType, TSignatures>;