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]
|
[package]
|
||||||
name = "bootstrap-rs"
|
name = "bootstrap-rs"
|
||||||
version = "0.2.1"
|
version = "0.2.2"
|
||||||
authors = ["Thomas Gideon <cmdln@thecommandline.net>"]
|
authors = ["Thomas Gideon <cmdln@thecommandline.net>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ impl Component for ButtonGroup {
|
||||||
impl ButtonGroup {
|
impl ButtonGroup {
|
||||||
fn class(&self) -> String {
|
fn class(&self) -> String {
|
||||||
if self.props.class.is_empty() {
|
if self.props.class.is_empty() {
|
||||||
"btn-grp".into()
|
"btn-group".into()
|
||||||
} else {
|
} else {
|
||||||
format!("btn-group {}", self.props.class)
|
format!("btn-group {}", self.props.class)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue