Skip to content

view config not found for name div #124

@danishsharma1993

Description

@danishsharma1993

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions