Ternary operator
Also written: ternary, ? :
The expression `condition ? a : b`, which picks one of two values. It can go inside JSX braces to choose text or elements.
Also written: ternary, ? :
The expression `condition ? a : b`, which picks one of two values. It can go inside JSX braces to choose text or elements.