-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I am using this library but getting the below issue:
view config not found for name div
My source code:
import React, { Component } from 'react'
import { View, StyleSheet, Text } from 'react-native'
import Recaptcha from 'react-grecaptcha';
export default class Captcha extends Component {
recaptchaLoaded=()=>{
console.log("Capctcha","loaded")
}
expiredCallBack = () => {
console.log("Capctcha", "expiredCallBack")
}
render() {
return (
<View style={styles.container}>
<Text>Hiii</Text>
<Recaptcha
sitekey={'MyKey'}
callback={this.recaptchaLoaded}
expiredCallback={this.expiredCallBack}
/>
</View>
)
}
}
const styles = StyleSheet.create({
container: {
flex: 1
}
})
Metadata
Metadata
Assignees
Labels
No labels