Medium
How would you style a component with multiple objects?
Author: DavidStatus: PublishedQuestion passed 351 times
Edit
1
Community Evaluations
Guillaume
30/04/2024
Is the second option: style={[style.container, {backgroundColor...}]} supposed to be a correct answer as well? If yes, there's a typo error, an "s" is missing from the const variable, declared as "styles"... might be misleading
Similar QuestionsMore questions about React Native