SyntaxFix
Write A Post
Hire A Developer
Questions
render() { return ( <View style={...}> {initialArr.map((prop, key) => { return ( <Button style={{borderColor: prop[0]}} key={key}>{prop[1]}</Button> ); })} </View> ) }
should do the trick