Question du test React Native (2023)

Styler un composant avec plusieurs objets en React Native

Intermédiaire

Comment styler un composant avec de multiples objets?

Auteur: DavidStatut : PubliéeQuestion passée 177 fois
Modifier
1
Évaluations de la communauté
developer avatar
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