@@ -32,22 +32,22 @@ set the `autoResetOnExpire` prop to true or reset the widget yourself using the
3232
3333Turnstile takes the following arguments:
3434
35- | name | type | description |
36- | ----------------- | ------- | -------------------------------------------------------- |
37- | sitekey | string | sitekey of your website (REQUIRED) |
38- | action | string | - |
39- | cData | string | - |
40- | theme | string | one of "light", "dark", "auto" |
41- | tabIndex | number | - |
42- | responseField | boolean | controls generation of ` <input /> ` element |
43- | responseFieldName | string | changes the name of ` <input /> ` element |
44- | retry | string | one of "auto", "never" |
45- | retryInterval | number | interval of retries in ms |
46- | autoResetOnExpire | boolean | automatically reset the widget when the token expires |
47- | id | string | id of the div |
48- | ref | Ref | custom react ref for the div |
49- | className | string | passed to the div |
50- | style | object | passed to the div |
35+ | name | type | description |
36+ | ----------------- | ------- | ----------------------------------------------------- |
37+ | sitekey | string | sitekey of your website (REQUIRED) |
38+ | action | string | - |
39+ | cData | string | - |
40+ | theme | string | one of "light", "dark", "auto" |
41+ | tabIndex | number | - |
42+ | responseField | boolean | controls generation of ` <input /> ` element |
43+ | responseFieldName | string | changes the name of ` <input /> ` element |
44+ | retry | string | one of "auto", "never" |
45+ | retryInterval | number | interval of retries in ms |
46+ | autoResetOnExpire | boolean | automatically reset the widget when the token expires |
47+ | id | string | id of the div |
48+ | ref | Ref | custom react ref for the div |
49+ | className | string | passed to the div |
50+ | style | object | passed to the div |
5151
5252And the following callbacks:
5353
0 commit comments