UNPKG

@linzjs/step-ag-grid

Version:

[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](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
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; };