dioxus-icons 0.0.1

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, path, svg};

#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("docs/candy_off.md"))]
#[cfg_attr(any(doc, rust_analyzer), doc = include_str!("../../../rustdoc-header.html"))]
#[allow(non_snake_case)]
pub fn CandyOff(props: IconProps) -> Element {
    static TEMPLATE_ROOTS: &[TemplateNode] = &[svg(&[
        path(&[attr("d", "M10 10v7.9")]),
        path(&[attr("d", "M11.802 6.145a5 5 0 0 1 6.053 6.053")]),
        path(&[attr("d", "M14 6.1v2.243")]),
        path(&[attr(
            "d",
            "m15.5 15.571-.964.964a5 5 0 0 1-7.071 0 5 5 0 0 1 0-7.07l.964-.965",
        )]),
        path(&[attr(
            "d",
            "M16 7V3a1 1 0 0 1 1.707-.707 2.5 2.5 0 0 0 2.152.717 1 1 0 0 1 1.131 1.131 2.5 2.5 0 0 0 .717 2.152A1 1 0 0 1 21 8h-4",
        )]),
        path(&[attr("d", "m2 2 20 20")]),
        path(&[attr(
            "d",
            "M8 17v4a1 1 0 0 1-1.707.707 2.5 2.5 0 0 0-2.152-.717 1 1 0 0 1-1.131-1.131 2.5 2.5 0 0 0-.717-2.152A1 1 0 0 1 3 16h4",
        )]),
    ])];
    static TEMPLATE: Template = icon_template(TEMPLATE_ROOTS);

    icon_element(TEMPLATE, props)
}