@mui/x-charts
Version:
The community edition of MUI X Charts components.
14 lines • 1.1 kB
TypeScript
import type * as React from 'react';
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";
import { type UseChartsContainerPropsReturnValue } from "../ChartsContainer/useChartsContainerProps.js";
import type { ChartContainerProps } from "./ChartContainer.js";
/**
* @deprecated Use `UseChartsContainerPropsReturnValue` instead.
*/
export type UseChartContainerPropsReturnValue<TSeries extends ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[]> = UseChartsContainerPropsReturnValue<TSeries, TSignatures>;
/**
* @deprecated Use `useChartsContainerProps` instead.
*/
export declare const useChartContainerProps: <TSeries extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<TSeries>>(props: ChartContainerProps<TSeries, TSignatures>, ref: React.Ref<SVGSVGElement>) => UseChartContainerPropsReturnValue<TSeries, TSignatures>;