UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

12 lines 1.06 kB
import { type ChartsSurfaceProps } from "../ChartsSurface/index.mjs"; import { type ChartsDataProviderProps } from "../ChartsDataProvider/index.mjs"; import type { ChartsContainerProps } from "./ChartsContainer.mjs"; import { type ChartSeriesType } from "../models/seriesType/config.mjs"; import { type AllPluginSignatures } from "../internals/plugins/allPlugins.mjs"; import { type ChartAnyPluginSignature } from "../internals/plugins/models/plugin.mjs"; 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>;