Dodaj warunek wewnątrz nazwy klas w ReactJS
className={`banner ${active ? "active" : ""}`}
Dayanaohhnana
className={`banner ${active ? "active" : ""}`}
<div className={`banner ${active ? "active" : ""}`}>{children}</div>
<span className={todo.completed ? "true" : ""}>