use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Donut(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Donut" }
            path { d: "M20.5 10a2.5 2.5 0 0 1-2.4-3H18a2.95 2.95 0 0 1-2.6-4.4 10 10 0 1 0 6.3 7.1c-.3.2-.8.3-1.2.3" }
            circle { cx: "12", cy: "12", r: "3" }
        }
    }
}
