1.1.5 • Published 4 months ago

@types/react-recaptcha-v3 v1.1.5

Weekly downloads
3,078
License
MIT
Repository
github
Last release
4 months ago

Installation

npm install --save @types/react-recaptcha-v3

Summary

This package contains type definitions for react-recaptcha-v3 (https://github.com/codeep/react-recaptcha-v3).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-recaptcha-v3.

index.d.ts

// Type definitions for react-recaptcha-v3 1.1
// Project: https://github.com/codeep/react-recaptcha-v3
// Definitions by: Alessandro Rabitti <https://github.com/silversonicaxel>
//                 Ivan Siacho <https://github.com/ivansiach0>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

import { Component } from "react";

export namespace ReCaptcha {
    interface ReCaptchaProps {
        elementID?: string | undefined;
        sitekey: string;
        action: string;
        verifyCallback?(response: string): void;
        verifyCallbackName?: string | undefined;
    }
}

export class ReCaptcha extends Component<ReCaptcha.ReCaptchaProps> {
    static propTypes: any;
    static defaultProps: ReCaptcha.ReCaptchaProps;
    execute(): void;
}

export function loadReCaptcha(siteKey: string): void;

Additional Details

  • Last updated: Thu, 08 Jul 2021 22:41:27 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by Alessandro Rabitti, and Ivan Siacho.

1.1.5

4 months ago

1.1.4

6 months ago

1.1.3

7 months ago

1.1.2

3 years ago

1.1.1

4 years ago

1.1.0

4 years ago