We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
execute
1 parent de84f92 commit 06f6dc9Copy full SHA for 06f6dc9
types/index.d.ts
@@ -50,6 +50,8 @@ declare class HCaptcha extends React.Component<HCaptchaProps, HCaptchaState> {
50
getResponse(): string;
51
setData(data: object): void;
52
isReady(): boolean;
53
+ execute(opts: { async: true, rqdata?: string }): Promise<ExecuteResponse>;
54
+ execute(opts?: { async: false, rqdata?: string }): void;
55
execute(opts?: { async?: boolean, rqdata?: string }): Promise<ExecuteResponse> | void;
56
}
57
0 commit comments