use dioxus::core::{Element, Template, TemplateNode};
use crate::IconProps;
use crate::vdom::{attr, circle, icon_element, icon_template, path, rect, svg};
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("docs/circuit_board.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn CircuitBoard(props: IconProps) -> Element {
static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
rect(&[
attr("height", "18"),
attr("rx", "2"),
attr("width", "18"),
attr("x", "3"),
attr("y", "3"),
]),
path(&[attr("d", "M11 9h4a2 2 0 0 0 2-2V3")]),
circle(&[attr("cx", "9"), attr("cy", "9"), attr("r", "2")]),
path(&[attr("d", "M7 21v-4a2 2 0 0 1 2-2h4")]),
circle(&[attr("cx", "15"), attr("cy", "15"), attr("r", "2")]),
])];
static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);
icon_element(TEMPLATE, props)
}