Nate Butler
47ca343803
Add DecoratedIcon (#11512)
This allows us to create icons with dynamic decorations drawn on top
like these:

### Examples:
```rust
div()
.child(DecoratedIcon::new(
Icon::new(IconName::Bell).color(Color::Muted),
IconDecoration::IndicatorDot,
))
.child(
DecoratedIcon::new(Icon::new(IconName::Bell), IconDecoration::IndicatorDot)
.decoration_color(Color::Accent),
)
.child(DecoratedIcon::new(
Icon::new(IconName::Bell).color(Color::Muted),
IconDecoration::Strikethrough,
))
.child(
DecoratedIcon::new(Icon::new(IconName::Bell), IconDecoration::X)
.decoration_color(Color::Error),
)
```
Release Notes:
- N/A
2024-05-07 16:36:13 -04:00
..
2024-05-07 16:36:13 -04:00
2024-05-01 17:46:43 -04:00
2024-04-02 10:37:14 +02:00
2024-01-09 14:15:25 -05:00
2024-04-23 16:23:26 -07:00
2024-01-10 10:09:48 -05:00
2024-01-09 14:15:25 -05:00
2024-05-01 14:28:52 -04:00
2024-01-09 15:22:36 -05:00
2024-05-06 13:22:47 -04:00
2024-05-01 14:28:52 -04:00
2024-01-09 12:57:12 -05:00
2024-01-09 12:57:12 -05:00
2024-01-03 12:33:51 -08:00