99.4k views
1 vote
How to call a variable as a tag in react native.

1 Answer

6 votes

Step-by-step explanation:

There is no need of adding template strings inside a <Text> component for adding strings in react-native. You can just use simple text and for variables, you can wrap it with curly braces

User Sepehr Hamzehlooy
by
5.9k points