6 lines
295 B
TypeScript
6 lines
295 B
TypeScript
|
import * as React from 'react';
|
||
|
/**
|
||
|
* Helper to merge refs from within class components.
|
||
|
*/
|
||
|
export declare const createMergedRef: <TType, TValue = null>(value?: TValue | undefined) => (...newRefs: (React.Ref<TType | TValue | null> | undefined)[]) => (newValue: TType | TValue | null) => void;
|