TIL #2: How to Conditionally Add Props to a React Component?
Using Inline Ternary Operator Conditionally Spreading the Object Properties We can use ternary or logical && operator, along with the spread operator, to conditionally add props to a component like so: <Tooltip message={message} // usin...


