Fix button group class
This commit is contained in:
parent
0645abe895
commit
e6b2e3a2ca
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "bootstrap-rs"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
authors = ["Thomas Gideon <cmdln@thecommandline.net>"]
|
||||
edition = "2018"
|
||||
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue