sanpyaelin / react-native-collapse-view

Collapse component for react native
MIT License
30 stars 16 forks source link

Not working, getting Invalid Violation Error #7

Open kishanbharda opened 5 years ago

kishanbharda commented 5 years ago

I have added this component as a below :

render() {
    return (
        <CollapseView
            renderView={() => (
                <MText>title</MText>
            )}
            renderCollapseView={() => (
                <ScrollView>
                    {
                        [1, 2, 3, 4, 5].map((item) => (
                            <View key={item}><MText>{item}</MText></View>
                        ))
                    }
                </ScrollView>
            )}
        />
    )
}

But, I am getting following error :

IMG_478CA5118227-1

How to solve it ?

waleedewicantech commented 5 years ago

having same error. Anyone can please help ??? !!!

appasaheb4 commented 5 years ago

same issue showing...(use alternative lib react-native-foldview)