You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| siteKey |`string`| Your sitekey key, get one from [here](https://developers.cloudflare.com/turnstile/get-started/). | ✅ |
49
-
| options |`object`| Widget render options. More info about this options [below](https://github.com/marsidev/react.turnstile/#render-options). ||
49
+
| options |`object`| Widget render options. More info about this options [below](https://github.com/marsidev/react-turnstile/#render-options). ||
50
50
| scriptProps |`object`| You can customize the injected `script` tag with this prop. It allows you to add `async`, `defer`, `nonce` attributes to the script tag. You can also control whether the injected script will be added to the document body or head with `appendTo` attribute. ||
51
51
| onSuccess |`function`| Callback that is invoked upon success of the challenge. The callback is passed a token that can be validated. ||
52
52
| onExpire |`function`| Callback that is invoked when a challenge expires. ||
Any contributions are greatly appreciated. If you have a suggestion that would make this project better, please fork the repo and create a Pull Request. You can also [open an issue](https://github.com/marsidev/react.turnstile/issues/new).
274
+
Any contributions are greatly appreciated. If you have a suggestion that would make this project better, please fork the repo and create a Pull Request. You can also [open an issue](https://github.com/marsidev/react-turnstile/issues/new).
275
275
276
276
## 💻 Development
277
277
278
-
- [Fork](https://github.com/marsidev/react.turnstile/fork) or clone the repo
278
+
- [Fork](https://github.com/marsidev/react-turnstile/fork) or clone the repo
279
279
- Install dependencies with `pnpm install`
280
280
- You can use `pnpm dev` to stub the library, `pnpm build` to build the library, `pnpm example:dev` to start the demo page in dev mode.
0 commit comments