dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_CaptchaComponentModule cluster_CaptchaComponentModule_declarations cluster_CaptchaComponentModule_exports CaptchaComponent CaptchaComponent CaptchaComponentModule CaptchaComponentModule CaptchaComponent->CaptchaComponentModule CaptchaComponent CaptchaComponent CaptchaComponentModule->CaptchaComponent

File

src/app/components/captcha/captcha.module.ts

Declarations

import { NgModule } from '@angular/core';
import { CaptchaComponent } from './captcha.component';
import { RecaptchaModule, RECAPTCHA_SETTINGS, RecaptchaSettings } from 'ng-recaptcha';

@NgModule({
  imports: [RecaptchaModule],
  declarations: [CaptchaComponent],
  exports: [CaptchaComponent],
  providers: [
    {
      provide: RECAPTCHA_SETTINGS,
      useValue: {
        siteKey: '6LfxHaEUAAAAAB4hTZ5LruDo-jF4CP8GgGGY09Dr'
      } as RecaptchaSettings
    }
  ]
})
export class CaptchaComponentModule {}

result-matching ""

    No results matching ""