use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn DoorClosedLocked(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - DoorClosedLocked" }
            path { d: "M10 12h.01" }
            path { d: "M18 9V6a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v14" }
            path { d: "M2 20h8" }
            path { d: "M20 17v-2a2 2 0 1 0-4 0v2" }
            rect { width: "8", height: "5", x: "1", y: "17", rx: "1" }
        }
    }
}
