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/image.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn Image(props: IconProps) -> Element {
static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
rect(&[
attr("height", "18"),
attr("rx", "2"),
attr("ry", "2"),
attr("width", "18"),
attr("x", "3"),
attr("y", "3"),
]),
circle(&[attr("cx", "9"), attr("cy", "9"), attr("r", "2")]),
path(&[attr("d", "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21")]),
])];
static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);
icon_element(TEMPLATE, "0 0 24 24", props)
}