import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { NavbarComponent } from './navbar/navbar.component';
import { SavedComponent } from './saved/saved.component';
import { ShareComponent } from './share/share.component';
import { IdoComponent } from './ido/ido.component';
import { AddComponent } from './add/add.component';

import { ToastrModule } from 'ngx-toastr';
import { NgxLocalStorageModule } from 'ngx-localstorage';
import { StorageModule } from '@ngx-pwa/local-storage';
import { ClipboardModule } from 'ngx-clipboard';


@NgModule({
  declarations: [
    AppComponent,
    NavbarComponent,
    SavedComponent,
    ShareComponent,
    IdoComponent,
    AddComponent
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    BrowserAnimationsModule,
    ClipboardModule,
    ToastrModule.forRoot(),
    NgxLocalStorageModule.forRoot(),
    StorageModule.forRoot({
      IDBNoWrap: true,
    })

  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
