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-04-29 01:08:59 -04:00
2024-03-18 10:59:19 -04:00
2024-03-18 10:59:19 -04:00
2024-03-18 10:59:19 -04:00
2024-03-18 10:59:19 -04:00
2024-03-18 10:59:19 -04:00
2024-03-18 10:59:19 -04:00
2024-05-02 13:01:21 -04:00
2024-03-18 10:59:19 -04:00
2023-08-30 11:14:50 -04:00
2024-04-19 14:27:56 -07:00
2024-03-18 10:59:19 -04:00
2024-05-07 16:36:13 -04:00
2024-05-07 16:36:13 -04:00
2024-04-19 14:27:56 -07:00
2024-03-18 10:59:19 -04:00
2024-04-23 13:31:21 -04:00
2024-04-11 18:36:58 +02:00
2024-04-19 15:15:19 +02:00
2024-02-19 18:41:43 +02:00
2024-03-18 10:59:19 -04:00
2024-04-19 18:54:20 +02:00
2024-04-11 23:07:29 -06:00
2024-03-18 10:59:19 -04:00
2024-03-18 10:59:19 -04:00
2024-03-18 10:59:19 -04:00
2024-04-11 18:36:58 +02:00
2024-04-11 23:07:29 -06:00
2024-04-23 15:33:09 -06:00
2024-04-16 18:03:54 -04:00
2024-05-02 13:01:21 -04:00
2024-05-07 16:36:13 -04:00
2024-05-03 12:50:42 -07:00
2024-05-03 12:50:42 -07:00
2024-05-03 12:50:42 -07:00
2024-05-03 12:50:42 -07:00
2024-03-18 10:59:19 -04:00
2024-04-23 13:31:21 -04:00
2024-04-23 13:31:21 -04:00
2024-05-01 12:56:27 -04:00