zuicon_material/icons/
text_snippet.rs1use yew::{function_component, html, Html};
8use zu::svg_icon::{Props, SvgIcon};
9
10#[function_component(TextSnippet)]
11pub fn text_snippet(props: &Props) -> Html {
12 let new_props = Props{
13 icon: From::from("TextSnippet"),
14 ..props.clone()
15 };
16
17 html! {
18 <SvgIcon ..new_props>
19 <path d="M20.41,8.41l-4.83-4.83C15.21,3.21,14.7,3,14.17,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V9.83 C21,9.3,20.79,8.79,20.41,8.41z M7,7h7v2H7V7z M17,17H7v-2h10V17z M17,13H7v-2h10V13z"/>
20 </SvgIcon>
21 }
22}