UNPKG

@trustcaptcha/trustcaptcha-react

Version:
11 lines (10 loc) 630 B
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime'; import { TrustcaptchaComponent as TrustcaptchaComponentElement } from "@trustcaptcha/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 {};