UNPKG

@guruhotel/aura-hooks

Version:

🪝 Hooks library designed by the Guruhotel team for Aura UI

6 lines (5 loc) 306 B
import React from "react"; declare type Ref<T> = React.Dispatch<React.SetStateAction<T>> | React.ForwardedRef<T>; export declare function useMergedRef<T = any>(...refs: Ref<T>[]): (node: T | null) => void; export declare function mergeRefs<T = any>(...refs: Ref<T>[]): (node: T | null) => void; export {};