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
use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn ChartPie(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - ChartPie" }
            path { d: "M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z" }
            path { d: "M21.21 15.89A10 10 0 1 1 8 2.83" }
        }
    }
}