icons 0.2.12

Icons for Rust fullstack applications — Leptos and Dioxus.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use leptos::prelude::*;

use super::SvgIcon;

#[component]
pub fn Tent(#[prop(into, optional)] class: Signal<String>) -> impl IntoView {
    view! {
        <SvgIcon class=class>
            <title>"Rust UI Icons - Tent"</title>

            <path d="M3.5 21 14 3" />
            <path d="M20.5 21 10 3" />
            <path d="M15.5 21 12 15l-3.5 6" />
            <path d="M2 21h20" />
        </SvgIcon>
    }
}