className={`banner ${active ? "active" : ""}`}
import React from "react";
2
3const Banner = ({ active, children }) => (
4 <div className={`banner ${active ? "active" : ""}`}>{children}</div>
5);
6
7export default Banner;
<span className={todo.completed ? "true" : ""}>
<div className={"btn-group pull-right " + (this.props.showBulkActions ? 'show' : 'hidden')}>