how to conditionally apply css in react code example Example: conditional classname prop react <span className={todo.completed ? "true" : ""}>