in React JS by
Q:
With React Native, you just style your application using _______________.

i) SASS

ii) CSS

iii) XML

iv) JavaScript

▼ Show 1 Answer

0 votes
by

Ans is JavaScript

With React Native,you just style your application using JavaScript and you do not use a special language or syntax for defining styles. All of the React Native components accept a prop named style.

The style names and values usually match how CSS works on the web application, except names are written using camel casing, e.g backgroundColor rather than background-color.With React Native, you just style your application using JavaScript

Styling in React Native

React Native borrows many ideas of styling for the Web. For example, in CSS, you write the following:

React JS
Learn More with Madanswer

Related questions

0 votes
asked May 20, 2020 in React JS by GeorgeBell
...