UNPKG

react-elegant-ui

Version:

Elegant UI components, made by BEM best practices for react

7 lines (6 loc) 267 B
import { Ref } from 'react'; import { Maybe } from '../types/utility-types'; /** * Merge refs and return a memoized `RefCallback` */ export declare const useRefMix: <TElement extends HTMLElement>(...refs: Maybe<Ref<TElement>>[]) => (node: TElement | null) => void;