solid-grecaptcha
Version:
> Package based on [solid-hcaptcha](https://github.com/Vexcited/solid-hcaptcha) using g-recaptcha of google
11 lines (10 loc) • 335 B
TypeScript
import { type Component } from 'solid-js';
import { type GCaptchaProps } from './types';
declare const GCAPTCHA_ONLOAD_FUNCTION_NAME = "__gCaptchaOnLoad__";
declare global {
interface Window {
[GCAPTCHA_ONLOAD_FUNCTION_NAME]: () => void;
}
}
declare const GRECaptch: Component<GCaptchaProps>;
export default GRECaptch;