I am attempting to pull the contents of this .json file (colors.json). I don't really know what the issue is with my code. Can't figure out the correct call in the Text tag
react-native-cli: 2.0.1 react-native: 0.39.0 Quote.js
var colors = require('./colors.json'); class Quote extends Component { render () { return ( <View style={styles.container}> <Text style={[styles.author, styles.text]}>Denise Lee Yohn</Text> **<Text style={styles.quote}> {colors.hexValue}</Text>** </View> ) } } Colors.json
{ "colorsArray":[{ "colorName":"red", "hexValue":"#f00" }, { "colorName":"green", "hexValue":"#0f0" }, { "colorName":"blue", "hexValue":"#00f" }, { "colorName":"black", "hexValue":"#000" } ] } 