UNPKG

428 BTypeScriptView Raw
1import * as React from 'react';
2import { IBaseProps } from './BaseComponent.types';
3/**
4 * Helper to manage componentRef resolution. Internally appends logic to
5 * lifetime methods to resolve componentRef to the passed in object.
6 *
7 * Usage: call initializeComponentRef(this) in the constructor,
8 */
9export declare function initializeComponentRef<TProps extends IBaseProps, TState>(obj: React.Component<TProps, TState>): void;