next-ucap-messenger/projects/ucap-webmessenger-ui-organization/src/lib/ucap-ui-organization.module.ts

25 lines
710 B
TypeScript
Raw Normal View History

2019-09-18 06:02:21 +00:00
import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ReactiveFormsModule } from '@angular/forms';
import { MatExpansionModule } from '@angular/material/expansion';
2019-10-04 04:45:02 +00:00
import { TreeComponent } from './components/tree.component';
2019-10-04 04:45:02 +00:00
const COMPONENTS = [TreeComponent];
2019-09-18 06:02:21 +00:00
const SERVICES = [];
@NgModule({
imports: [CommonModule, ReactiveFormsModule, MatExpansionModule],
2019-09-18 06:02:21 +00:00
exports: [...COMPONENTS],
declarations: [...COMPONENTS]
})
export class UCapUiOrganizationModule {
public static forRoot(): ModuleWithProviders<UCapUiOrganizationModule> {
return {
ngModule: UCapUiOrganizationModule,
providers: [...SERVICES]
};
}
}