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
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1162038310886182994/image.png)
1 Reply
Not sure, but think you can just do it with a ternary (it is just an object key:value pair)