Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 90 additions & 48 deletions book-examples/dioxus/src/icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5151,12 +5151,6 @@ pub fn IconsH1() -> Element {
},
"Highlighter",
),
(
rsx! {
History {}
},
"History",
),
(
rsx! {
Hop {}
Expand Down Expand Up @@ -5589,6 +5583,12 @@ pub fn IconsL1() -> Element {
},
"Layout Dashboard",
),
(
rsx! {
LayoutFreeform {}
},
"Layout Freeform",
),
(
rsx! {
LayoutGrid {}
Expand Down Expand Up @@ -6402,12 +6402,24 @@ pub fn IconsM1() -> Element {
},
"Mic",
),
(
rsx! {
MicAudioLines {}
},
"Mic Audio Lines",
),
(
rsx! {
MicOff {}
},
"Mic Off",
),
(
rsx! {
MicSignal {}
},
"Mic Signal",
),
(
rsx! {
MicVocal {}
Expand Down Expand Up @@ -6552,18 +6564,6 @@ pub fn IconsM1() -> Element {
},
"Monitor Stop",
),
(
rsx! {
MonitorUp {}
},
"Monitor Up",
),
(
rsx! {
MonitorX {}
},
"Monitor X",
),
];
rsx! {
for (icon, name) in icons {
Expand All @@ -6579,6 +6579,18 @@ pub fn IconsM1() -> Element {
#[component]
pub fn IconsM2() -> Element {
let icons = [
(
rsx! {
MonitorUp {}
},
"Monitor Up",
),
(
rsx! {
MonitorX {}
},
"Monitor X",
),
(
rsx! {
Moon {}
Expand All @@ -6591,6 +6603,12 @@ pub fn IconsM2() -> Element {
},
"Moon Star",
),
(
rsx! {
Mosque {}
},
"Mosque",
),
(
rsx! {
Motorbike {}
Expand Down Expand Up @@ -7506,12 +7524,6 @@ pub fn IconsP1() -> Element {
},
"Pocket Knife",
),
(
rsx! {
Podcast {}
},
"Podcast",
),
(
rsx! {
Podium {}
Expand Down Expand Up @@ -7566,6 +7578,12 @@ pub fn IconsP1() -> Element {
},
"Presentation",
),
(
rsx! {
Printer {}
},
"Printer",
),
];
rsx! {
for (icon, name) in icons {
Expand All @@ -7581,12 +7599,6 @@ pub fn IconsP1() -> Element {
#[component]
pub fn IconsP2() -> Element {
let icons = [
(
rsx! {
Printer {}
},
"Printer",
),
(
rsx! {
PrinterCheck {}
Expand Down Expand Up @@ -7995,6 +8007,12 @@ pub fn IconsR1() -> Element {
},
"Rotate Ccw",
),
(
rsx! {
RotateCcwClock {}
},
"Rotate Ccw Clock",
),
(
rsx! {
RotateCcwKey {}
Expand All @@ -8013,6 +8031,12 @@ pub fn IconsR1() -> Element {
},
"Rotate Cw",
),
(
rsx! {
RotateCwFadingClock {}
},
"Rotate Cw Fading Clock",
),
(
rsx! {
RotateCwSquare {}
Expand Down Expand Up @@ -8238,6 +8262,12 @@ pub fn IconsS1() -> Element {
},
"Scan Search",
),
(
rsx! {
ScanSquare {}
},
"Scan Square",
),
(
rsx! {
ScanText {}
Expand Down Expand Up @@ -8688,12 +8718,6 @@ pub fn IconsS1() -> Element {
},
"Skull",
),
(
rsx! {
Slash {}
},
"Slash",
),
];
rsx! {
for (icon, name) in icons {
Expand All @@ -8709,6 +8733,12 @@ pub fn IconsS1() -> Element {
#[component]
pub fn IconsS2() -> Element {
let icons = [
(
rsx! {
Slash {}
},
"Slash",
),
(
rsx! {
Slice {}
Expand Down Expand Up @@ -9159,6 +9189,12 @@ pub fn IconsS2() -> Element {
},
"Square Mouse Pointer",
),
(
rsx! {
SquareOff {}
},
"Square Off",
),
(
rsx! {
SquareParking {}
Expand Down Expand Up @@ -9297,18 +9333,6 @@ pub fn IconsS2() -> Element {
},
"Square User",
),
(
rsx! {
SquareUserRound {}
},
"Square User Round",
),
(
rsx! {
SquareX {}
},
"Square X",
),
];
rsx! {
for (icon, name) in icons {
Expand All @@ -9324,6 +9348,18 @@ pub fn IconsS2() -> Element {
#[component]
pub fn IconsS3() -> Element {
let icons = [
(
rsx! {
SquareUserRound {}
},
"Square User Round",
),
(
rsx! {
SquareX {}
},
"Square X",
),
(
rsx! {
SquaresExclude {}
Expand Down Expand Up @@ -10459,6 +10495,12 @@ pub fn IconsU1() -> Element {
},
"User Search",
),
(
rsx! {
UserShield {}
},
"User Shield",
),
(
rsx! {
UserStar {}
Expand Down
Loading