How to set color to text in React JS

后端 未结 4 1506
伪装坚强ぢ
伪装坚强ぢ 2021-02-19 09:15

I just want to change color of text using style in tag

How can I do that?


4条回答
  •  醉梦人生
    2021-02-19 09:46

    You can use external css file and then import it in your code

    You can also use Inline CSS

     Home 
    

    Object of style can be populated here

    activeStyle={{ color:'green', fontWeight: 'bold'}}
    

提交回复
热议问题