0 votes
in ReactJS by
With React Native, you just style your application using _______________.

i) SASS

ii) CSS

iii) XML

iv) JavaScript

1 Answer

0 votes
by
edited 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:

Related questions

0 votes
asked May 20, 2020 in ReactJS by GeorgeBell
0 votes
asked May 20, 2020 in ReactJS by GeorgeBell
...