Fix button demo in the component preview (#23423)
k4leg
created
Problem: If you click on "Tinted Icons", "Icon Color" is also activated.
Release Notes:
- N/A
Change summary
crates/ui/src/components/button/button.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Detailed changes
@@ -527,7 +527,7 @@ impl ComponentPreview for Button {
),
single_example(
"Tinted Icons",
- Button::new("icon_color", "Error")
+ Button::new("tinted_icons", "Error")
.style(ButtonStyle::Tinted(TintColor::Error))
.color(Color::Error)
.icon_color(Color::Error)