UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

18 lines 358 B
/** * Get the current brush state. * * - `start` is the starting point of the brush selection. * - `current` is the current point of the brush selection. * * @returns `{ start, current }` - The brush state. */ export declare function useBrush(): { start: { x: number; y: number; }; current: { x: number; y: number; }; } | null;