Fix button group class
This commit is contained in:
parent
0645abe895
commit
e6b2e3a2ca
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue