I’m new to react. I’ve tried {{style=color: "red"}}
but this gives me an error. Appreciate if you can help me.
Advertisement
Answer
It’s easy to add inline styles in react. style={{color: "red"}}
this is how you do it.
I’m new to react. I’ve tried {{style=color: "red"}}
but this gives me an error. Appreciate if you can help me.
It’s easy to add inline styles in react. style={{color: "red"}}
this is how you do it.