UNPKG

225 BTypeScriptView Raw
1import * as React from 'react';
2
3export interface RootRefProps<T = any> {
4 rootRef?: ((instance: T | null) => void) | React.RefObject<T>;
5}
6
7declare const RootRef: React.ComponentType<RootRefProps>;
8
9export default RootRef;
10
\No newline at end of file