import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { AngularFireModule } from '@angular/fire/compat';
import { AngularFireAuthModule } from '@angular/fire/compat/auth';
import { AngularFireStorageModule } from '@angular/fire/compat/storage';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NgOtpInputModule } from 'ng-otp-input';
import { environment } from '../../../../environments/environment';
import { MaterialModule } from '../../shared/directives/material.module';
import { SharedDirectiveModule } from '../../shared/directives/shareddirecitve.module';
import { InstantLoanRoutingModule } from './instant-loan-routing.module';
import { InstantLoanComponent } from './instant-loan.component';

@NgModule({
    declarations: [InstantLoanComponent],
    imports: [
        CommonModule,
        InstantLoanRoutingModule,
        FormsModule,
        MaterialModule,
        NgOtpInputModule,
        SharedDirectiveModule,
        ReactiveFormsModule,
        // AngularFireModule.initializeApp(environment.firebase),
        AngularFireStorageModule,
        AngularFireAuthModule,
    ],
})
export class InstantLoanModule { }
