How to combine multiple inline style objects?

If you’re using React Native, you can use the array notation:

<View style={[styles.base, styles.background]} />

Check out my detailed blog post about this.

Leave a Comment