UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

22 lines 1.38 kB
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 ChartsContainerProps, type ChartsContainerSlotProps, type ChartsContainerSlots } from "../ChartsContainer/index.js"; /** * @deprecated Use `ChartsContainerSlots` instead. We added S to the charts prefix to align with other components. */ export type ChartContainerSlots = ChartsContainerSlots; /** * @deprecated Use `ChartsContainerSlotProps` instead. We added S to the charts prefix to align with other components. */ export type ChartContainerSlotProps = ChartsContainerSlotProps; /** * @deprecated Use `ChartsContainerProps` instead. We added S to the charts prefix to align with other components. */ export type ChartContainerProps<SeriesType extends ChartSeriesType = ChartSeriesType, TSignatures extends readonly ChartAnyPluginSignature[] = AllPluginSignatures<SeriesType>> = ChartsContainerProps<SeriesType, TSignatures>; /** * @deprecated Use `ChartsContainer` instead. We added S to the charts prefix to align with other components. */ export declare const ChartContainer: <TSeries extends ChartSeriesType>(props: ChartsContainerProps<TSeries> & { ref?: React.ForwardedRef<SVGSVGElement>; }) => React.JSX.Element;