Created
April 17, 2019 14:55
-
-
Save maxkoretskyi/721f34831be3ed32b1094587c1bdb37c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class ReactComponent extends BaseReactComponent { | |
private eParentElement!: HTMLElement; | |
public init(params: any): Promise<void> { | |
return new Promise<void>(resolve => { | |
this.eParentElement = this.createParentElement(params); | |
this.createReactComponent(params, resolve); | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment