zu/internal/svg_icons/arrow_downward.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
5use yew::{function_component, html, AttrValue, Html};
6
7use crate::svg_icon::{Props, SvgIcon};
8
9#[function_component(ArrowDownward)]
10pub fn arrow_downward(props: &Props) -> Html {
11 let new_props = Props {
12 icon: AttrValue::from("ArrowDownward"),
13 ..props.clone()
14 };
15
16 html! {
17 <SvgIcon ..new_props>
18 <path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z" />
19 </SvgIcon>
20 }
21}