react-native-parallax
react-native-parallax copied to clipboard
Each child in an array or iterator should have a unique key prop.

How to make a unique key?
<Parallax.Image
onPress={Actions.About}
style={styles.image}
overlayStyle={styles.overlay}
source={{ uri: 'http://shawellnessclinic.com/shamagazine/wp-content/uploads/SHA-Yoga-Class-021-720x481.jpg' }}
parallaxFactor={PARALLAX_FACTOR}>
<Text style={styles.title}>О НАС</Text>
</Parallax.Image>
<Parallax.Image
onPress={Actions.Eco}
style={styles.image}
overlayStyle={styles.overlay}
source={{ uri: 'http://shawellnessclinic.com/shamagazine/wp-content/uploads/SHA-Yoga-Class-021-720x481.jpg' }}
parallaxFactor={PARALLAX_FACTOR}>
<Text style={styles.title}>ЭКОПРОЕКТЫ</Text>
</Parallax.Image>
</Parallax.ScrollView>```