@mui/x-charts
Version:
The community edition of MUI X Charts components.
7 lines • 458 B
TypeScript
import type { Store } from '@mui/x-internals/store';
import { type ChartAnyPluginSignature, type ChartState } from "../models/index.js";
export declare function useLazySelectorEffect<TSignatures extends readonly ChartAnyPluginSignature[], Value>(store: Store<ChartState<TSignatures>>, selector: (state: ChartState<TSignatures>) => Value, effect: (previous: Value, next: Value) => void,
/**
* If true, the selector will be ignored.
*/
skip?: boolean): void;