@trustcaptcha/trustcaptcha-react
Version:
TrustCaptcha for React
11 lines (10 loc) • 630 B
TypeScript
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 {};