use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn BookLock(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - BookLock" }
            path { d: "M18 6V4a2 2 0 1 0-4 0v2" }
            path { d: "M20 15v6a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20" }
            path { d: "M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H10" }
            rect { width: "8", height: "5", x: "1", y: "6", rx: "1" }
        }
    }
}
