use dioxus::core::{Element, Template, TemplateNode};
use crate::IconProps;
use crate::vdom::{attr, circle, icon_element, icon_template, line, svg};
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("docs/crosshair.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn Crosshair(props: IconProps) -> Element {
static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
circle(&[attr("cx", "12"), attr("cy", "12"), attr("r", "10")]),
line(&[
attr("x1", "22"),
attr("x2", "18"),
attr("y1", "12"),
attr("y2", "12"),
]),
line(&[
attr("x1", "6"),
attr("x2", "2"),
attr("y1", "12"),
attr("y2", "12"),
]),
line(&[
attr("x1", "12"),
attr("x2", "12"),
attr("y1", "6"),
attr("y2", "2"),
]),
line(&[
attr("x1", "12"),
attr("x2", "12"),
attr("y1", "22"),
attr("y2", "18"),
]),
])];
static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);
icon_element(TEMPLATE, "0 0 24 24", props)
}