react-native-recaptcha-that-works
Version:
⚛ A reCAPTCHA bridge for React Native that works.
12 lines (11 loc) • 464 B
TypeScript
export declare type RecaptchaSize = 'invisible' | 'normal' | 'compact';
export declare type RecaptchaTheme = 'dark' | 'light';
export declare type TemplateParams = {
siteKey: string;
size?: RecaptchaSize;
theme?: RecaptchaTheme;
lang?: string;
action?: string;
};
declare const getTemplate: (params: TemplateParams, recaptchaDomain: string, gstaticDomain: string, enterprise: boolean, hideBadge: boolean) => string;
export default getTemplate;