Files
ETB/ETB-FrontEnd/node_modules/@mui/x-charts/RadarChart/useRadarChartProps.d.ts
Iliyan Angelov 306b20e24a Frontend start
2025-09-14 00:54:48 +03:00

28 lines
1.4 KiB
TypeScript

import type { RadarChartProps } from "./RadarChart.js";
import { ChartsOverlayProps } from "../ChartsOverlay/index.js";
import { ChartsLegendSlotExtension } from "../ChartsLegend/index.js";
import type { ChartsWrapperProps } from "../ChartsWrapper/index.js";
import { RadarDataProviderProps } from "./RadarDataProvider/RadarDataProvider.js";
import { ChartsSurfaceProps } from "../ChartsSurface/index.js";
import { RadarGridProps } from "./RadarGrid/index.js";
import { RadarChartPluginsSignatures } from "./RadarChart.plugins.js";
import { RadarSeriesAreaProps, 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<RadarChartPluginsSignatures>;
radarGrid: RadarGridProps;
radarSeriesAreaProps: RadarSeriesAreaProps;
radarSeriesMarksProps: RadarSeriesMarksProps;
overlayProps: ChartsOverlayProps;
legendProps: ChartsLegendSlotExtension;
children: import("react").ReactNode;
};