Move input components to separate module
Signed-off-by: trivernis <trivernis@protonmail.com>pull/4/head
parent
e694645a78
commit
823628e5bd
@ -0,0 +1,36 @@
|
||||
import {NgModule} from "@angular/core";
|
||||
import {CommonModule} from "@angular/common";
|
||||
import {NativeFileSelectComponent} from "./native-file-select/native-file-select.component";
|
||||
import {TagInputComponent} from "./tag-input/tag-input.component";
|
||||
import {MatAutocompleteModule} from "@angular/material/autocomplete";
|
||||
import {MatFormFieldModule} from "@angular/material/form-field";
|
||||
import {ReactiveFormsModule} from "@angular/forms";
|
||||
import {MatInputModule} from "@angular/material/input";
|
||||
import {NgIconsModule} from "@ng-icons/core";
|
||||
import {MatInsertDriveFile, MatFolder} from "@ng-icons/material-icons";
|
||||
import {MatButtonModule} from "@angular/material/button";
|
||||
import {FlexModule} from "@angular/flex-layout";
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
NativeFileSelectComponent,
|
||||
TagInputComponent
|
||||
],
|
||||
exports: [
|
||||
NativeFileSelectComponent,
|
||||
TagInputComponent
|
||||
],
|
||||
imports: [
|
||||
CommonModule,
|
||||
MatAutocompleteModule,
|
||||
MatFormFieldModule,
|
||||
ReactiveFormsModule,
|
||||
MatInputModule,
|
||||
NgIconsModule.withIcons({MatInsertDriveFile, MatFolder}),
|
||||
MatButtonModule,
|
||||
FlexModule,
|
||||
]
|
||||
})
|
||||
export class InputModule {
|
||||
}
|
Loading…
Reference in New Issue