zuicon_material/icons/warning.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(Warning)]
11pub fn warning(props: &Props) -> Html {
12 let new_props = Props{
13 icon: From::from("Warning"),
14 ..props.clone()
15 };
16
17 html! {
18 <SvgIcon ..new_props>
19 <path d="M0 0h24v24H0z" fill="none"/><path d="M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"/>
20 </SvgIcon>
21 }
22}