use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Building(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Building" }
            rect { width: "16", height: "20", x: "2", y: "2", rx: "2", ry: "2" }
            path { d: "M9 22v-4h6v4" }
            path { d: "M8 6h.01" }
            path { d: "M16 6h.01" }
            path { d: "M12 6h.01" }
            path { d: "M12 10h.01" }
            path { d: "M12 14h.01" }
            path { d: "M16 10h.01" }
            path { d: "M16 14h.01" }
            path { d: "M8 10h.01" }
            path { d: "M8 14h.01" }
        }
    }
}
