UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

9 lines 480 B
import type { FocusedItemIdentifier } from "../models/seriesType/index.js"; import type { ChartSeriesType } from "../models/seriesType/config.js"; /** * A hook to check focus state of multiple items. * If you're interested by a single one, consider using `useIsItemFocused`. * * @returns {(item: FocusedItemData) => boolean} callback to get the state of the item. */ export declare function useIsItemFocusedGetter(): (item: FocusedItemIdentifier<ChartSeriesType>) => boolean;