UNPKG

@stihl-design-system/components

Version:

Welcome to the STIHL Design System react component library.

6 lines (5 loc) 271 B
/** * Merges multiple refs (callback or object refs) into a single callback ref. * Handy when a component both forwards a ref and also needs its own internal ref. */ export declare function mergeRefs<T>(...refs: Array<React.Ref<T> | undefined>): React.RefCallback<T>;