UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

9 lines 699 B
import { type ChartSeriesType } from "../models/seriesType/config.js"; /** * A hook to get a callback that returns the highlight state of an item. * * If you're interested by a single item, consider using `useItemHighlightState`. * * @returns {(item: HighlightItemIdentifierWithType | null) => HighlightState} callback to get the highlight state of an item. */ export declare function useItemHighlightStateGetter<SeriesType extends ChartSeriesType>(): (item: import("../index.js").HighlightItemIdentifierWithType<import("../internals/index.js").ComposableChartSeriesType<keyof import("../internals/index.js").ChartsSeriesConfig>> | null) => import("./useItemHighlightState.js").HighlightState;