use dioxus::core::{Element, Template, TemplateNode};
use crate::IconProps;
use crate::vdom::{attr, circle, icon_element, icon_template, path, svg};
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("docs/medal.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn Medal(props: IconProps) -> Element {
static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
path(&[attr(
"d",
"M7.21 15 2.66 7.14a2 2 0 0 1 .13-2.2L4.4 2.8A2 2 0 0 1 6 2h12a2 2 0 0 1 1.6.8l1.6 2.14a2 2 0 0 1 .14 2.2L16.79 15",
)]),
path(&[attr("d", "M11 12 5.12 2.2")]),
path(&[attr("d", "m13 12 5.88-9.8")]),
path(&[attr("d", "M8 7h8")]),
circle(&[attr("cx", "12"), attr("cy", "17"), attr("r", "5")]),
path(&[attr("d", "M12 18v-2h-.5")]),
])];
static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);
icon_element(TEMPLATE, "0 0 24 24", props)
}