import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {AccountComponent} from './components/account/account.component';
import {
    NbActionsModule,
    NbButtonModule,
    NbCardModule,
    NbIconModule,
    NbInputModule,
    NbSelectModule,
    NbSpinnerModule,
    NbToggleModule,
    NbUserModule
} from "@nebular/theme";
import {FiltersComponent} from './components/filters/filters.component';
import {ReactiveFormsModule} from "@angular/forms";


@NgModule({
    declarations: [
        AccountComponent,
        FiltersComponent,
    ],
    providers: [],
    imports: [
        CommonModule,
        ReactiveFormsModule,
        // Nebula import only
        NbInputModule,
        NbButtonModule,
        NbSpinnerModule,
        NbSelectModule,
        NbToggleModule,
        // Nebula
        NbCardModule,
        NbUserModule,
        NbActionsModule,
        NbIconModule,
        NbButtonModule,
        NbInputModule,
    ],
    exports: [
        AccountComponent,
        FiltersComponent,
        // Nebula
        NbCardModule,
        NbActionsModule,
        NbIconModule,
        NbButtonModule,
        NbInputModule,
    ]
})
export class SharedModule {
}
