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) 506 B
import { MutableRefObject, PropsWithRef, ReactElement } from 'react'; export interface withHoveringResultProps { isHovering?: boolean; externalRef?: MutableRefObject<any>; menuItemRef?: MutableRefObject<HTMLLIElement>; } export declare const withHovering: <X extends Record<string, any>, T extends PropsWithRef<X>>(name: string, WrappedComponent: (props: T) => ReactElement) => import("react").ForwardRefExoticComponent<import("react").PropsWithoutRef<T> & import("react").RefAttributes<any>>;