UNPKG

@elsikora/x-captcha-react

Version:

React components for X-Captcha service

14 lines (13 loc) 529 B
import type { ICaptchaContext, ICaptchaProviderProperties } from "../interface"; import React from "react"; /** * Provider component for captcha functionality * @param {ICaptchaProviderProperties} properties The properties for the provider * @returns {React.ReactElement} The provider component */ export declare const CaptchaProvider: React.FC<ICaptchaProviderProperties>; /** * Hook to use captcha functionality * @returns {ICaptchaContext} The captcha context */ export declare const useCaptcha: () => ICaptchaContext;