You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

8 lines
315 B

  1. import * as React from 'react';
  2. export declare function fillRef<T>(ref: React.Ref<T>, node: T): void;
  3. /**
  4. * Merge refs into one ref function to support ref passing.
  5. */
  6. export declare function composeRef<T>(...refs: React.Ref<T>[]): React.Ref<T>;
  7. export declare function supportRef(nodeOrComponent: any): boolean;