UNPKG

@figliolia/react-hooks

Version:

A small collection of simple React Hooks you're probably rewriting on a regular basis

3 lines (2 loc) 196 B
import type { RefCallback, RefObject } from "react"; export declare const useMergedRefs: <T>(...refs: (RefObject<T | null> | RefCallback<T> | null | undefined)[]) => (instance: T | null) => void;