can you have an if else statement inside this ```style={{ }}```
i was wondering if you can do an if else statement inside , like do this static color in when this happens and do this color when this happens etc
1 Reply
Not sure, but think you can just do it with a ternary (it is just an object key:value pair)