Skip to content

Commit

Permalink
Fix type on Size
Browse files Browse the repository at this point in the history
As shown in the turnstile docs [here](https://developers.cloudflare.com/turnstile/get-started/client-side-rendering/#appearance-modes), the values for size, do not include invisible. I presume that this was a mistake, and meant to be "flexible"
  • Loading branch information
deanshelton authored Sep 4, 2024
1 parent 6fd8164 commit 84b1972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export interface TurnstileProps extends TurnstileCallbacks {
tabIndex?: number;
responseField?: boolean;
responseFieldName?: string;
size?: "normal" | "invisible" | "compact";
size?: "normal" | "flexible" | "compact";
fixedSize?: boolean;
retry?: "auto" | "never";
retryInterval?: number;
Expand Down

0 comments on commit 84b1972

Please sign in to comment.