@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) • 521 B
TypeScript
import { MutableRefObject } from 'react';
import { FocusPosition } from '../types';
export declare const useItems: (menuRef: MutableRefObject<any>, focusRef: MutableRefObject<any> | undefined) => {
hoverItem: HTMLDivElement | HTMLLIElement | ((prevItem: HTMLDivElement | HTMLLIElement) => HTMLDivElement | HTMLLIElement | undefined) | undefined;
dispatch: (actionType: number, item: any, nextIndex: FocusPosition) => void;
updateItems: (item?: HTMLDivElement | HTMLLIElement, isMounted?: boolean) => void;
};