In React you can clearly create an object and assign it as an inline style. i.e.. mentioned below.
var divStyle = {
I have built an module for this if you want to add styles based on a condition like this:
multipleStyles(styles.icon, { [styles.iconRed]: true })
https://www.npmjs.com/package/react-native-multiple-styles