use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn FolderLock(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - FolderLock" }
            rect { width: "8", height: "5", x: "1", y: "17", rx: "1" }
            path { d: "M10 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v2.5" }
            path { d: "M20 17v-2a2 2 0 1 0-4 0v2" }
        }
    }
}
