We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f58c76a commit 925889eCopy full SHA for 925889e
1 file changed
src/components/Turnstile.js
@@ -87,4 +87,10 @@ Turnstile.propTypes = {
87
language: PropTypes.string,
88
};
89
90
+Turnstile.defaultProps = {
91
+ onSuccess: null,
92
+ onError: null,
93
+ language: null,
94
+};
95
+
96
export default Turnstile;
0 commit comments