Home > Back-end >  react native what to use to write a text with '<'
react native what to use to write a text with '<'

Time:05-13

It realy is a simple question but it's been 10 mn and I can't seems to find how to formulate this to have an answer on the web. I have a Click on <> and I want to write the '<' caracter. What do I need to write before it? (got Syntax error: Unexpected token)

CodePudding user response:

you should be able to do it like this <Text>{"<"}</Text>

  • Related