refactor(components): convert components to separate modules

This commit is contained in:
Brandy Carney
2017-03-15 16:06:35 -04:00
parent 5d668036e6
commit ddcd3cf1c5
55 changed files with 1475 additions and 346 deletions

View File

@ -0,0 +1,32 @@
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NgModule, ModuleWithProviders } from '@angular/core';
import { NativeInput } from './native-input';
import { NextInput } from './next-input';
import { TextInput } from './input';
@NgModule({
imports: [
CommonModule,
FormsModule,
ReactiveFormsModule
],
declarations: [
NativeInput,
NextInput,
TextInput
],
exports: [
NativeInput,
NextInput,
TextInput
]
})
export class InputModule {
public static forRoot(): ModuleWithProviders {
return {
ngModule: InputModule, providers: []
};
}
}