UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

17 lines (16 loc) 797 B
/// <reference types="react" /> import * as React from 'react'; import { BaseComponent } from '../../Utilities'; export declare class BaseDecorator<TProps, TState> extends BaseComponent<TProps, TState> { protected _skipComponentRefResolution: boolean; protected _composedComponentInstance: React.Component<TProps, TState>; private _hoisted; constructor(props: TProps); /** * Updates the ref to the component composed by the decorator, which will also take care of hoisting * (and unhoisting as appropriate) methods from said component. * * Pass this method as the argument to the 'ref' property of the composed component. */ protected _updateComposedComponentRef(composedComponentInstance: React.Component<TProps, TState>): void; }