zuicon_material/icons/
cancel_rounded.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(CancelRounded)]
11pub fn cancel_rounded(props: &Props) -> Html {
12    let new_props = Props{
13        icon: From::from("CancelRounded"),
14        ..props.clone()
15    };
16
17    html! {
18        <SvgIcon ..new_props>
19            <path d="M0 0h24v24H0V0z" fill="none" opacity=".87"/><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm4.3 14.3c-.39.39-1.02.39-1.41 0L12 13.41 9.11 16.3c-.39.39-1.02.39-1.41 0-.39-.39-.39-1.02 0-1.41L10.59 12 7.7 9.11c-.39-.39-.39-1.02 0-1.41.39-.39 1.02-.39 1.41 0L12 10.59l2.89-2.89c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41L13.41 12l2.89 2.89c.38.38.38 1.02 0 1.41z"/>
20        </SvgIcon>
21    }
22}