-
Notifications
You must be signed in to change notification settings - Fork 55
/
tree-list.module.ts
33 lines (30 loc) · 1006 Bytes
/
tree-list.module.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { TreeModule } from 'angular-tree-component';
import { EmptyStateModule } from '../../empty-state/empty-state.module';
import { TreeListComponent } from './tree-list.component';
/**
* A module containing objects associated with tree list components
*
* @deprecated The tree-list component is deprecated due to issues with Angular 6 and mobx autorun,
* introduced by angular-tree-component.
*
* See: https://github.com/patternfly/patternfly-ng/issues/381
*/
@NgModule({
imports: [
CommonModule,
EmptyStateModule,
FormsModule,
TreeModule
],
declarations: [TreeListComponent],
exports: [TreeListComponent]
})
export class TreeListModule {
constructor() {
console.log('patternfly-ng: The tree-list component is deprecated due to issues with Angular 6 and ' +
'mobx autorun, introduced by angular-tree-component.');
}
}