@mskcc/carbon-react
Version:
Carbon react components for the MSKCC DSM
11 lines (10 loc) • 335 B
TypeScript
/**
* MSKCC DSM 2021, 2023
*/
import { Ref, ForwardedRef } from 'react';
/**
* Combine multiple refs into a single ref. This use useful when you have two
* refs from both `React.forwardRef` and `useRef` that you would like to add to
* the same node.
*/
export declare const useMergedRefs: <T>(refs: ForwardedRef<T>[]) => Ref<T>;