1 | import type * as React from 'react';
|
2 | export declare const fillRef: <T>(ref: React.Ref<T>, node: T) => void;
|
3 |
|
4 |
|
5 |
|
6 | export declare const composeRef: <T>(...refs: React.Ref<T>[]) => React.Ref<T>;
|
7 | export declare const useComposeRef: <T>(...refs: React.Ref<T>[]) => React.Ref<T>;
|
8 | export declare const supportRef: (nodeOrComponent: any) => boolean;
|
9 | interface RefAttributes<T> extends React.Attributes {
|
10 | ref: React.Ref<T>;
|
11 | }
|
12 | export declare const supportNodeRef: <T = any>(node: React.ReactNode) => node is React.ReactElement<any, string | React.JSXElementConstructor<any>> & RefAttributes<T>;
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 | export declare const getNodeRef: <T = any>(node: React.ReactNode) => React.Ref<T> | null;
|
19 | export {};
|