docs: correct lifecycle hooks feature example (#33886)

PR Close #33886
This commit is contained in:
Lars Gyrup Brink Nielsen 2019-11-18 00:35:04 +01:00 committed by Alex Rickabaugh
parent be58159550
commit 3557849371
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ export function createRootContext(
* Example: * Example:
* *
* ``` * ```
* renderComponent(AppComponent, {features: [RootLifecycleHooks]}); * renderComponent(AppComponent, {hostFeatures: [LifecycleHooksFeature]});
* ``` * ```
*/ */
export function LifecycleHooksFeature(component: any, def: ComponentDef<any>): void { export function LifecycleHooksFeature(component: any, def: ComponentDef<any>): void {