How do I handle the following:
const SpeedTest = ({ speed }) => (
<div {speed > 80 ? {{style=color:red}} : {{style=color:green}} }>
{speed > 80 ? "Too fast!" : "All fine"}
</div>
);
Conditional text change works fine, but I am not able to get the color change done.