@linzjs/step-ag-grid
Version:
[](https://github.com/semantic-release/semantic-release) > Reusable [ag-grid](https://www.ag-grid.com/) component for LINZ / Toitū te whenua.
8 lines (7 loc) • 396 B
TypeScript
import { FocusEvent, MutableRefObject } from 'react';
export declare const useItemState: (menuItemRef: MutableRefObject<any> | undefined, focusRef: MutableRefObject<any> | undefined, isHovering?: boolean, isDisabled?: boolean) => {
setHover: () => void;
onBlur: (e: FocusEvent) => void;
onPointerMove: () => void;
onPointerLeave: (_: PointerEvent, keepHover: boolean) => void;
};