UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

28 lines 1.48 kB
import type { RadarChartProps } from "./RadarChart.js"; import { type ChartsOverlayProps } from "../ChartsOverlay/index.js"; import { type ChartsLegendSlotExtension } from "../ChartsLegend/index.js"; import type { ChartsWrapperProps } from "../ChartsWrapper/index.js"; import { type RadarDataProviderProps } from "./RadarDataProvider/RadarDataProvider.js"; import { type ChartsSurfaceProps } from "../ChartsSurface/index.js"; import { type RadarGridProps } from "./RadarGrid/index.js"; import { type RadarChartPluginSignatures } from "./RadarChart.plugins.js"; import { type RadarSeriesAreaProps, type RadarSeriesMarksProps } from "./RadarSeriesPlot/index.js"; /** * A helper function that extracts RadarChartProps from the input props * and returns an object with props for the children components of RadarChart. * * @param props The input props for RadarChart * @returns An object with props for the children components of RadarChart */ export declare const useRadarChartProps: (props: RadarChartProps) => { highlight: "none" | "series" | "axis"; chartsWrapperProps: Omit<ChartsWrapperProps, "children">; chartsSurfaceProps: ChartsSurfaceProps; radarDataProviderProps: RadarDataProviderProps<RadarChartPluginSignatures>; radarGrid: RadarGridProps; radarSeriesAreaProps: RadarSeriesAreaProps; radarSeriesMarksProps: RadarSeriesMarksProps; overlayProps: ChartsOverlayProps; legendProps: ChartsLegendSlotExtension; children: import("react").ReactNode; };