use dioxus::core::{Element, Template, TemplateNode};
use crate::IconProps;
use crate::vdom::{attr, icon_element, icon_template, path, svg};
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("docs/cuboid.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn Cuboid(props: IconProps) -> Element {
static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
path(&[attr("d", "M10 22v-8")]),
path(&[attr("d", "M2.336 8.89 10 14l11.715-7.029")]),
path(&[attr(
"d",
"M22 14a2 2 0 0 1-.971 1.715l-10 6a2 2 0 0 1-2.138-.05l-6-4A2 2 0 0 1 2 16v-6a2 2 0 0 1 .971-1.715l10-6a2 2 0 0 1 2.138.05l6 4A2 2 0 0 1 22 8z",
)]),
])];
static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);
icon_element(TEMPLATE, props)
}