import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { SpaToasterComponent } from './spa-toaster.component';
import { SpfModule } from '@softpak/frontend-components-ng/dist/frontend-components-ng';

@NgModule({
    declarations: [
        SpaToasterComponent,
    ],
    imports: [
        CommonModule,
        SpfModule,
    ],
    exports: [
        SpaToasterComponent,
    ]
})
export class SpaToasterModule {
    static forRoot(): ModuleWithProviders<SpaToasterModule> {
        return {
            ngModule: SpaToasterModule,
        };
    }
}
