zuicon_material/icons/
star_half.rs

1// Copyright (c) 2024 Xu Shaohua <shaohua@biofan.org>. All rights reserved.
2// Use of this source is governed by Lesser General Public License
3// that can be found in the LICENSE file.
4
5// Auto generated, do not edit.
6
7use yew::{function_component, html, Html};
8use zu::svg_icon::{Props, SvgIcon};
9
10#[function_component(StarHalf)]
11pub fn star_half(props: &Props) -> Html {
12    let new_props = Props{
13        icon: From::from("StarHalf"),
14        ..props.clone()
15    };
16
17    html! {
18        <SvgIcon ..new_props>
19            <path d="M22,9.24l-7.19-0.62L12,2L9.19,8.63L2,9.24l5.46,4.73L5.82,21L12,17.27L18.18,21l-1.63-7.03L22,9.24z M12,15.4V6.1 l1.71,4.04l4.38,0.38l-3.32,2.88l1,4.28L12,15.4z"/>
20        </SvgIcon>
21    }
22}