use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Mail(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Mail" }
            path { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7" }
            rect { width: "20", height: "16", x: "2", y: "4", rx: "2" }
        }
    }
}
