zuicon_material/icons/
lock.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(Lock)]
11pub fn lock(props: &Props) -> Html {
12    let new_props = Props{
13        icon: From::from("Lock"),
14        ..props.clone()
15    };
16
17    html! {
18        <SvgIcon ..new_props>
19            <path d="M0 0h24v24H0z" fill="none"/><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"/>
20        </SvgIcon>
21    }
22}