Open danishsharma1993 opened 4 years ago
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 } })
I am using this library but getting the below issue:
view config not found for name div
My source code: