UNPKG

react-tiniest-form

Version:
5 lines (4 loc) 179 B
import { Ref } from 'react'; type PossibleRef<T> = Ref<T> | undefined; declare const composeRefs: <T>(...refs: PossibleRef<T>[]) => (instance: T) => void; export { composeRefs };