mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-1586] Fixed incorrect import declarations in docs (#2738)
This commit is contained in:
committed by
Eugenio Romano
parent
57234cd348
commit
6843a6adfd
@@ -97,7 +97,7 @@ Every custom widget must inherit `WidgetComponent` class in order to function pr
|
||||
|
||||
```ts
|
||||
import { Component } from '@angular/core';
|
||||
import { WidgetComponent } from 'lib/core/form/components/widgets';
|
||||
import { WidgetComponent } from '@alfresco/adf-core';
|
||||
|
||||
@Component({
|
||||
selector: 'custom-editor',
|
||||
@@ -196,7 +196,7 @@ Let's create an Angular 2 component to render missing content:
|
||||
|
||||
```ts
|
||||
import { Component } from '@angular/core';
|
||||
import { WidgetComponent } from 'lib/core/form/components/widgets';
|
||||
import { WidgetComponent } from '@alfresco/adf-core';
|
||||
|
||||
@Component({
|
||||
selector: 'custom-stencil-01',
|
||||
|
Reference in New Issue
Block a user