use dioxus::core::{Element, Template, TemplateNode};
use crate::IconProps;
use crate::vdom::{attr, icon_element, icon_template, path, rect, svg};
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("docs/hard_hat.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn HardHat(props: IconProps) -> Element {
static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
path(&[attr("d", "M10 10V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v5")]),
path(&[attr("d", "M14 6a6 6 0 0 1 6 6v3")]),
path(&[attr("d", "M4 15v-3a6 6 0 0 1 6-6")]),
rect(&[
attr("height", "4"),
attr("rx", "1"),
attr("width", "20"),
attr("x", "2"),
attr("y", "15"),
]),
])];
static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);
icon_element(TEMPLATE, "0 0 24 24", props)
}