zuicon_material/icons/
badge.rs1use yew::{function_component, html, Html};
8use zu::svg_icon::{Props, SvgIcon};
9
10#[function_component(Badge)]
11pub fn badge(props: &Props) -> Html {
12 let new_props = Props{
13 icon: From::from("Badge"),
14 ..props.clone()
15 };
16
17 html! {
18 <SvgIcon ..new_props>
19 <path d="M20,7h-5V4c0-1.1-0.9-2-2-2h-2C9.9,2,9,2.9,9,4v3H4C2.9,7,2,7.9,2,9v11c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V9 C22,7.9,21.1,7,20,7z M9,12c0.83,0,1.5,0.67,1.5,1.5S9.83,15,9,15s-1.5-0.67-1.5-1.5S8.17,12,9,12z M12,18H6v-0.75c0-1,2-1.5,3-1.5 s3,0.5,3,1.5V18z M13,9h-2V4h2V9z M18,16.5h-4V15h4V16.5z M18,13.5h-4V12h4V13.5z"/>
20 </SvgIcon>
21 }
22}