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/wheat_off.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn WheatOff(props: IconProps) -> Element {
    static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
        path(&[attr("d", "m2 22 10-10")]),
        path(&[attr("d", "m16 8-1.17 1.17")]),
        path(&[attr(
            "d",
            "M3.47 12.53 5 11l1.53 1.53a3.5 3.5 0 0 1 0 4.94L5 19l-1.53-1.53a3.5 3.5 0 0 1 0-4.94Z",
        )]),
        path(&[attr(
            "d",
            "m8 8-.53.53a3.5 3.5 0 0 0 0 4.94L9 15l1.53-1.53c.55-.55.88-1.25.98-1.97",
        )]),
        path(&[attr(
            "d",
            "M10.91 5.26c.15-.26.34-.51.56-.73L13 3l1.53 1.53a3.5 3.5 0 0 1 .28 4.62",
        )]),
        path(&[attr("d", "M20 2h2v2a4 4 0 0 1-4 4h-2V6a4 4 0 0 1 4-4Z")]),
        path(&[attr(
            "d",
            "M11.47 17.47 13 19l-1.53 1.53a3.5 3.5 0 0 1-4.94 0L5 19l1.53-1.53a3.5 3.5 0 0 1 4.94 0Z",
        )]),
        path(&[attr(
            "d",
            "m16 16-.53.53a3.5 3.5 0 0 1-4.94 0L9 15l1.53-1.53a3.49 3.49 0 0 1 1.97-.98",
        )]),
        path(&[attr(
            "d",
            "M18.74 13.09c.26-.15.51-.34.73-.56L21 11l-1.53-1.53a3.5 3.5 0 0 0-4.62-.28",
        )]),
        line(&[
            attr("x1", "2"),
            attr("x2", "22"),
            attr("y1", "2"),
            attr("y2", "22"),
        ]),
    ])];
    static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);

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