Fix button group class

This commit is contained in:
Thomas Gideon 2020-06-13 16:55:34 -04:00
parent 0645abe895
commit e6b2e3a2ca
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "bootstrap-rs"
version = "0.2.1"
version = "0.2.2"
authors = ["Thomas Gideon <cmdln@thecommandline.net>"]
edition = "2018"

View file

@ -37,7 +37,7 @@ impl Component for ButtonGroup {
impl ButtonGroup {
fn class(&self) -> String {
if self.props.class.is_empty() {
"btn-grp".into()
"btn-group".into()
} else {
format!("btn-group {}", self.props.class)
}