0 votes
in ReactJS by
Q. You can use any CSS in the styles of the React Native StyleSheet object.

1. True

2. False

1 Answer

0 votes
by

Yes, This is true statement.

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.  You can use any CSS in the styles of the React Native StyleSheet object.

Related questions

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