We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 359769a commit cb679d7Copy full SHA for cb679d7
src/recaptcha.js
@@ -77,7 +77,7 @@ const ReCAPTCHA = React.createClass({
77
render() {
78
// consume properties owned by the reCATPCHA, pass the rest to the div so the user can style it.
79
/* eslint-disable no-unused-vars */
80
- let { sitekey, onChange, theme, type, tabindex, onExpired, size, stoken, ...childProps } = this.props;
+ const { sitekey, onChange, theme, type, tabindex, onExpired, size, stoken, grecaptcha, ...childProps } = this.props;
81
/* eslint-enable no-unused-vars */
82
return (
83
<div {...childProps} ref="captcha" />
0 commit comments