Fix button demo in the component preview (#23423)
Problem: If you click on "Tinted Icons", "Icon Color" is also activated. Release Notes: - N/A
This commit is contained in:
parent
836b4c1db4
commit
6eaaced60d
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ impl ComponentPreview for Button {
|
||||||
),
|
),
|
||||||
single_example(
|
single_example(
|
||||||
"Tinted Icons",
|
"Tinted Icons",
|
||||||
Button::new("icon_color", "Error")
|
Button::new("tinted_icons", "Error")
|
||||||
.style(ButtonStyle::Tinted(TintColor::Error))
|
.style(ButtonStyle::Tinted(TintColor::Error))
|
||||||
.color(Color::Error)
|
.color(Color::Error)
|
||||||
.icon_color(Color::Error)
|
.icon_color(Color::Error)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue