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