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/gift.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn Gift(props: IconProps) -> Element {
static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
path(&[attr("d", "M12 7v14")]),
path(&[attr("d", "M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8")]),
path(&[attr(
"d",
"M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5",
)]),
rect(&[
attr("height", "4"),
attr("rx", "1"),
attr("width", "18"),
attr("x", "3"),
attr("y", "7"),
]),
])];
static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);
icon_element(TEMPLATE, props)
}