Skip to content

Commit 9370bd2

Browse files
authored
fix(types): add missing optional properties to ReCaptchaOptions interface (#121)
1 parent 44aa84d commit 9370bd2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

types/index.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ export interface ReCaptchaOptions {
66
*/
77
hideBadge?: boolean
88

9+
/**
10+
* ReCaptcha language (v2)
11+
*/
12+
language?: string
13+
914
/**
1015
* ReCaptcha mode.
1116
*/
@@ -16,6 +21,11 @@ export interface ReCaptchaOptions {
1621
*/
1722
siteKey: string
1823

24+
/**
25+
* Size of the widget (v2)
26+
*/
27+
size?: 'compact' | 'normal' | 'invisible'
28+
1929
/**
2030
* Version
2131
*/

0 commit comments

Comments
 (0)