icons 0.2.7

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

use super::SvgIcon;

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

            <path d="M12 18.338a2.1 2.1 0 0 0-.987.244L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16l2.309-4.679A.53.53 0 0 1 12 2" />
        </SvgIcon>
    }
}