How to pass style props for a specific component in react-native
If you want to use styles from the styles object and inline styles together, please put them in an array like this:
<TouchableOpacity style={[buttonStyle, {backgroundColor: csCode }]}> ...</TouchableOpacity>