How do we check multiple conditions in reactjs.
There's an ? operator, but it only checks one condition.
I want to check the status of three buttons. If it is true, they are rendered otherwise not.
Example ->
If button 1 is true , render button 1
If button 2 is false, dont render button 2
If button 3 is true, render button 3