use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Mails(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Mails" }
            rect { width: "16", height: "13", x: "2", y: "4", rx: "2" }
            path { d: "m22 7-7.1 3.78c-.57.3-1.23.3-1.8 0L6 7" }
            path { d: "M2 8v11c0 1.1.9 2 2 2h14" }
        }
    }
}
