UNPKG

vue-recaptcha

Version:

ReCAPTCHA vue component

8 lines (7 loc) 439 B
import type { Plugin } from 'vue-demi'; import type { RecaptchaOptionsInput } from './composables/context'; import type { GRecaptcha, NormalizedScriptLoaderFactory } from './script-manager/common'; export interface CreatePluginOptions { getRecaptcha?: () => GRecaptcha; } export declare function createPlugin(scriptLoaderFactory: NormalizedScriptLoaderFactory, { getRecaptcha }?: CreatePluginOptions): Plugin<[RecaptchaOptionsInput]>;