@mui/x-charts
Version:
The community edition of the Charts components (MUI X).
16 lines • 590 B
TypeScript
type MousePosition = {
x: number;
y: number;
pointerType: 'mouse' | 'touch' | 'pen';
height: number;
};
export type UseMouseTrackerReturnValue = null | MousePosition;
/**
* @deprecated We recommend using vanilla JS to let popper track mouse position.
*/
export declare function useMouseTracker(): UseMouseTrackerReturnValue;
type PointerType = Pick<MousePosition, 'pointerType'>;
export declare function usePointerType(): null | PointerType;
export type TriggerOptions = 'item' | 'axis' | 'none';
export declare function utcFormatter(v: string | number | Date): string;
export {};