use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn SquareStack(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - SquareStack" }
            path { d: "M4 10c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2" }
            path { d: "M10 16c-1.1 0-2-.9-2-2v-4c0-1.1.9-2 2-2h4c1.1 0 2 .9 2 2" }
            rect { width: "8", height: "8", x: "2", y: "14", rx: "2" }
        }
    }
}
