use dioxus::core::{Element, Template, TemplateNode};
use crate::IconProps;
use crate::vdom::{attr, icon_element, icon_template, line, rect, svg};
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("docs/monitor.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn Monitor(props: IconProps) -> Element {
static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
rect(&[
attr("height", "14"),
attr("rx", "2"),
attr("width", "20"),
attr("x", "2"),
attr("y", "3"),
]),
line(&[
attr("x1", "8"),
attr("x2", "16"),
attr("y1", "21"),
attr("y2", "21"),
]),
line(&[
attr("x1", "12"),
attr("x2", "12"),
attr("y1", "17"),
attr("y2", "21"),
]),
])];
static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);
icon_element(TEMPLATE, props)
}