Skip to content

Commit

Permalink
fix(types): add missing optional properties to ReCaptchaOptions inter…
Browse files Browse the repository at this point in the history
…face (#121)
  • Loading branch information
randompch authored Mar 21, 2023
1 parent 44aa84d commit 9370bd2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ export interface ReCaptchaOptions {
*/
hideBadge?: boolean

/**
* ReCaptcha language (v2)
*/
language?: string

/**
* ReCaptcha mode.
*/
Expand All @@ -16,6 +21,11 @@ export interface ReCaptchaOptions {
*/
siteKey: string

/**
* Size of the widget (v2)
*/
size?: 'compact' | 'normal' | 'invisible'

/**
* Version
*/
Expand Down

0 comments on commit 9370bd2

Please sign in to comment.