@prosopo/procaptcha-wrapper
v2.6.42
Published
It's a core package for all the Procaptcha framework integrations.
Downloads
1,370
Readme
Procaptcha Wrapper
1. About the package
It's a core package for all the Procaptcha framework integrations.
Note: You shouldn't use this package directly as long as the target framework integration is available.
2. Configuration options
The package supports all the Procaptcha options.
3. Direct usage
This package is written in vanilla JS, so in case there is no integration for your framework yet, you can use the package directly:
import { type ProcaptchaRenderOptions, renderProcaptcha} from "@prosopo/procaptcha-wrapper";
const container = document.querySelector('#your-element');
const procaptchaOptions: ProcaptchaRenderOptions = {
siteKey: "your-site-key",
};
renderProcaptcha(container, procaptchaOptions);