dioxus-icons 0.1.0

Lucide icons for Dioxus, one component per icon.
Documentation
// @generated by dioxus-icons-codegen from Lucide v1.14.0 (56e49f12166312f04af4cfd862621c93cf583979). Do not edit.
// Lucide icons are licensed under ISC. See LICENSE-LUCIDE.

use dioxus::core::{Element, Template, TemplateNode};

use crate::IconProps;
use crate::vdom::{attr, icon_element, icon_template, line, path, svg};

#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("docs/gamepad_2.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn Gamepad2(props: IconProps) -> Element {
    static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
        line(&[
            attr("x1", "6"),
            attr("x2", "10"),
            attr("y1", "11"),
            attr("y2", "11"),
        ]),
        line(&[
            attr("x1", "8"),
            attr("x2", "8"),
            attr("y1", "9"),
            attr("y2", "13"),
        ]),
        line(&[
            attr("x1", "15"),
            attr("x2", "15.01"),
            attr("y1", "12"),
            attr("y2", "12"),
        ]),
        line(&[
            attr("x1", "18"),
            attr("x2", "18.01"),
            attr("y1", "10"),
            attr("y2", "10"),
        ]),
        path(&[attr(
            "d",
            "M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",
        )]),
    ])];
    static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);

    icon_element(TEMPLATE, "0 0 24 24", props)
}