Skip to main content

dioxus_icons/
lib.rs

1#![warn(missing_docs)]
2#![cfg_attr(
3    not(any(doc, rust_analyzer)),
4    doc = "Dioxus components for every Lucide icon."
5)]
6#![cfg_attr(
7    any(doc, rust_analyzer),
8    doc = include_str!(concat!(env!("OUT_DIR"), "/README_HEADER.md"))
9)]
10#![cfg_attr(any(doc, rust_analyzer), doc = include_str!("../STATIC_PICKER.html"))]
11#![cfg_attr(any(doc, rust_analyzer), doc = concat!(
12    "<script type=\"application/json\" id=\"__icon_manifest__\">",
13    include_str!("generated/manifest.json"),
14    "</script>"
15))]
16#![cfg_attr(any(doc, rust_analyzer), doc = include_str!("../picker/picker.html"))]
17#![cfg_attr(any(doc, rust_analyzer), doc = concat!(
18    "<script>",
19    include_str!("./js/picker.js"),
20    "</script>"
21))]
22#![cfg_attr(
23    any(doc, rust_analyzer),
24    doc = include_str!(concat!(env!("OUT_DIR"), "/README_BODY.md"))
25)]
26
27mod props;
28mod vdom;
29
30#[allow(missing_docs)]
31mod generated;
32
33pub use props::{IconProps, IconSize};
34
35/// Lucide icons.
36pub use crate::generated::lucide;