Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import config from 'src/config';
- render() {
- const { onExpired, onSuccess } = this.props
- return (
- <div className='recaptcha'>
- <ReCAPTCHA
- ref={((ref) => this.setCaptchaRef(ref))}
- sitekey={config.recaptcha.siteKey}
- onChange={onSuccess}
- onExpired={onExpired}
- />
- </div>
- )
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement