UNPKG

@visitorquery/react

Version:

Use this package to prevent fraud and abuse by visitors hiding behind proxies and VPNs. With a simple call to `useVisitorQuery` your website or app will be making a request to our servers which will store a value indicating wether the current user is beh

8 lines (7 loc) 250 B
interface UseScriptOptions { removeOnUnmount?: boolean; [key: string]: any; } type ScriptStatus = "loading" | "ready" | "error" | "unknown"; export declare function useScript(src: string, options?: UseScriptOptions): ScriptStatus; export {};