UNPKG

react-grecaptcha-v3

Version:

Google Recaptcha V3 for React.js based application. Keep website performance high while prioritizing security.

11 lines (8 loc) 268 B
import { RefObject } from 'react'; interface QueueItem { action: string; onComplete: (token: string) => void; onError: (reason: Error) => void; } declare const useQueueRef: () => RefObject<QueueItem[]>; export { type QueueItem, useQueueRef as default };