use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Group(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Group" }
            path { d: "M3 7V5c0-1.1.9-2 2-2h2" }
            path { d: "M17 3h2c1.1 0 2 .9 2 2v2" }
            path { d: "M21 17v2c0 1.1-.9 2-2 2h-2" }
            path { d: "M7 21H5c-1.1 0-2-.9-2-2v-2" }
            rect { width: "7", height: "5", x: "1", y: "7", rx: "1" }
            rect { width: "7", height: "5", x: "1", y: "12", rx: "1" }
        }
    }
}
