use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Blocks(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Blocks" }
            path { d: "M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2" }
            rect { width: "8", height: "8", x: "1", y: "2", rx: "1" }
        }
    }
}
