equal
deleted
inserted
replaced
48 <form onSubmit={ this.onSubmit }> |
48 <form onSubmit={ this.onSubmit }> |
49 <div className="form-group buttons"> |
49 <div className="form-group buttons"> |
50 {this.props.categories.map((category) => |
50 {this.props.categories.map((category) => |
51 <button type="button" |
51 <button type="button" |
52 key={ category.name } |
52 key={ category.name } |
53 className="btn btn-primary" |
53 className="btn btn-sm text-secondary" |
54 style={{ backgroundColor: category.color }} |
54 style={{ backgroundColor: category.color }} |
55 active={ this.isCategoryActive(category) } |
55 active={ this.isCategoryActive(category) } |
56 onClick={ this.onButtonClick.bind(this, category) }>{ category.name }</button> |
56 onClick={ this.onButtonClick.bind(this, category) }>{ category.name }</button> |
57 )} |
57 )} |
58 </div> |
58 </div> |