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/nut_off.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn NutOff(props: IconProps) -> Element {
    static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
        path(&[attr("d", "M12 4V2")]),
        path(&[attr(
            "d",
            "M5 10v4a7.004 7.004 0 0 0 5.277 6.787c.412.104.802.292 1.102.592L12 22l.621-.621c.3-.3.69-.488 1.102-.592a7.01 7.01 0 0 0 4.125-2.939",
        )]),
        path(&[attr("d", "M19 10v3.343")]),
        path(&[attr(
            "d",
            "M12 12c-1.349-.573-1.905-1.005-2.5-2-.546.902-1.048 1.353-2.5 2-1.018-.644-1.46-1.08-2-2-1.028.71-1.69.918-3 1 1.081-1.048 1.757-2.03 2-3 .194-.776.84-1.551 1.79-2.21m11.654 5.997c.887-.457 1.28-.891 1.556-1.787 1.032.916 1.683 1.157 3 1-1.297-1.036-1.758-2.03-2-3-.5-2-4-4-8-4-.74 0-1.461.068-2.15.192",
        )]),
        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)
}