zuicon_material/icons/
attachment.rs1use yew::{function_component, html, Html};
8use zu::svg_icon::{Props, SvgIcon};
9
10#[function_component(Attachment)]
11pub fn attachment(props: &Props) -> Html {
12 let new_props = Props{
13 icon: From::from("Attachment"),
14 ..props.clone()
15 };
16
17 html! {
18 <SvgIcon ..new_props>
19 <path d="M0 0h24v24H0V0z" fill="none"/><path d="M2 12.5C2 9.46 4.46 7 7.5 7H18c2.21 0 4 1.79 4 4s-1.79 4-4 4H9.5C8.12 15 7 13.88 7 12.5S8.12 10 9.5 10H17v2H9.41c-.55 0-.55 1 0 1H18c1.1 0 2-.9 2-2s-.9-2-2-2H7.5C5.57 9 4 10.57 4 12.5S5.57 16 7.5 16H17v2H7.5C4.46 18 2 15.54 2 12.5z"/>
20 </SvgIcon>
21 }
22}