use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn HardHat(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - HardHat" }
            path { d: "M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5" }
            path { d: "M14 6a6 6 0 0 1 6 6v3" }
            path { d: "M4 15v-3a6 6 0 0 1 6-6" }
            rect { width: "20", height: "4", x: "1", y: "15", rx: "1" }
        }
    }
}
