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/router.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn Router(props: IconProps) -> Element {
static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
rect(&[
attr("height", "8"),
attr("rx", "2"),
attr("width", "20"),
attr("x", "2"),
attr("y", "14"),
]),
path(&[attr("d", "M6.01 18H6")]),
path(&[attr("d", "M10.01 18H10")]),
path(&[attr("d", "M15 10v4")]),
path(&[attr("d", "M17.84 7.17a4 4 0 0 0-5.66 0")]),
path(&[attr("d", "M20.66 4.34a8 8 0 0 0-11.31 0")]),
])];
static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);
icon_element(TEMPLATE, props)
}