use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Frame(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Frame" }
            line { x1: "22", x2: "2", y1: "6", y2: "6" }
            line { x1: "22", x2: "2", y1: "18", y2: "18" }
            line { x1: "6", x2: "6", y1: "2", y2: "22" }
            line { x1: "18", x2: "18", y1: "2", y2: "22" }
        }
    }
}
