use dioxus::core::{Element, Template, TemplateNode};
use crate::IconProps;
use crate::vdom::{attr, icon_element, icon_template, line, path, polyline, svg};
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("docs/mailbox.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn Mailbox(props: IconProps) -> Element {
static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
path(&[attr(
"d",
"M22 17a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9.5C2 7 4 5 6.5 5H18c2.2 0 4 1.8 4 4v8Z",
)]),
polyline(&[attr("points", "15,9 18,9 18,11")]),
path(&[attr("d", "M6.5 5C9 5 11 7 11 9.5V17a2 2 0 0 1-2 2")]),
line(&[
attr("x1", "6"),
attr("x2", "7"),
attr("y1", "10"),
attr("y2", "10"),
]),
])];
static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);
icon_element(TEMPLATE, "0 0 24 24", props)
}