UNPKG

227 BTypeScriptView Raw
1import * as React from 'react';
2export declare type IRefObject<T> = React.RefObject<T> | RefObject<T> | ((ref: T | null) => void);
3export declare type RefObject<T> = {
4 (component: T | null): void;
5 current: T | null;
6};
7
\No newline at end of file