use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Hospital(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Hospital" }
            path { d: "M12 6v4" }
            path { d: "M14 14h-4" }
            path { d: "M14 18h-4" }
            path { d: "M14 8h-4" }
            path { d: "M18 12h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2" }
            path { d: "M18 22V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v18" }
        }
    }
}
