use dioxus::core::{Element, Template, TemplateNode};
use crate::IconProps;
use crate::vdom::{attr, icon_element, icon_template, line, rect, svg};
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("docs/gamepad.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn Gamepad(props: IconProps) -> Element {
static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
line(&[
attr("x1", "6"),
attr("x2", "10"),
attr("y1", "12"),
attr("y2", "12"),
]),
line(&[
attr("x1", "8"),
attr("x2", "8"),
attr("y1", "10"),
attr("y2", "14"),
]),
line(&[
attr("x1", "15"),
attr("x2", "15.01"),
attr("y1", "13"),
attr("y2", "13"),
]),
line(&[
attr("x1", "18"),
attr("x2", "18.01"),
attr("y1", "11"),
attr("y2", "11"),
]),
rect(&[
attr("height", "12"),
attr("rx", "2"),
attr("width", "20"),
attr("x", "2"),
attr("y", "6"),
]),
])];
static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);
icon_element(TEMPLATE, props)
}