UNPKG

react-application-core

Version:

A react-based application core for the business applications.

37 lines (36 loc) 1.38 kB
import { INativeMaterialComponent, INativeMaterialAdapter } from '../../../entities-definitions.interface'; import { INativeMaterialComponentFactory } from '../../material'; import { IGenericComponent, IGenericPlugin, TranslatorT } from '../../../definition'; export declare class MaterialPlugin<TComponent extends IGenericComponent, TNativeMaterialComponent extends INativeMaterialComponent = INativeMaterialComponent> implements IGenericPlugin { protected component: TComponent; private mdcFactory; protected mdc: TNativeMaterialComponent; /** * @stable [18.06.2019] * @param {TComponent} component * @param {INativeMaterialComponentFactory<TNativeMaterialComponent extends INativeMaterialComponent>} mdcFactory */ constructor(component: TComponent, mdcFactory: INativeMaterialComponentFactory<TNativeMaterialComponent>); /** * @stable [31.08.2018] */ componentDidMount(): void; /** * @stable [05.05.2018] */ componentWillUnmount(): void; /** * @stable [15.08.2018] */ protected get adapter(): INativeMaterialAdapter; /** * @stable [17.06.2019] * @returns {boolean} */ protected get doesMdcExist(): boolean; /** * @stable [22.08.2018] * @returns {TranslatorT} */ protected get t(): TranslatorT; }