import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { FormsModule } from '@angular/forms' ; import { RouterModule , Routes } from '@angular/router' ; import { NglTextareaModule , NglCheckboxesModule } from 'ng-lightning' ; import { NglDemoExampleModule } from 'src/app/example/example.module' ; import { DemoTextareaComponent } from './textarea.component' ; import { DemoTextareaBasic } from './examples/basic' ; const routes = [ { path : '' , component : DemoTextareaComponent } , ] ; @ NgModule ( { imports : [ CommonModule , FormsModule , RouterModule . forChild ( routes ) , NglTextareaModule , NglCheckboxesModule , NglDemoExampleModule , ] , declarations : [ DemoTextareaComponent , DemoTextareaBasic , ] , } ) export class NglDemoTextareaModule { }