UNPKG

@trustcomponent/trustcaptcha-react

Version:

TrustCaptcha – Privacy-first CAPTCHA solution for React. GDPR-compliant, bot protection made in Europe.

11 lines (10 loc) 632 B
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime'; import { TrustcaptchaComponent as TrustcaptchaComponentElement } from "@trustcomponent/trustcaptcha-frontend/dist/components/trustcaptcha-component.js"; type TrustcaptchaComponentEvents = { onCaptchaStarted: EventName<CustomEvent<void>>; onCaptchaSolved: EventName<CustomEvent<string>>; onCaptchaFailed: EventName<CustomEvent<string>>; onCaptchaReset: EventName<CustomEvent<void>>; }; export declare const TrustcaptchaComponent: StencilReactComponent<TrustcaptchaComponentElement, TrustcaptchaComponentEvents>; export {};