Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

view config not found for name div #124

Open
danishsharma1993 opened this issue Mar 3, 2020 · 0 comments
Open

view config not found for name div #124

danishsharma1993 opened this issue Mar 3, 2020 · 0 comments

Comments

@danishsharma1993
Copy link

danishsharma1993 commented Mar 3, 2020

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
    }
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant