icons 0.2.7

Icons for Rust fullstack applications — Leptos and Dioxus.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Bomb(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Bomb" }
            circle { cx: "11", cy: "13", r: "9" }
            path { d: "M14.35 4.65 16.3 2.7a2.41 2.41 0 0 1 3.4 0l1.6 1.6a2.4 2.4 0 0 1 0 3.4l-1.95 1.95" }
            path { d: "m22 2-1.5 1.5" }
        }
    }
}