Agregar condición dentro de un nombre de clase en Reactjs
className={`banner ${active ? "active" : ""}`}
Dayanaohhnana
className={`banner ${active ? "active" : ""}`}
<div className={`banner ${active ? "active" : ""}`}>{children}</div>
<span className={todo.completed ? "true" : ""}>