use leptos::prelude::*;

use crate::_svg_icon::SvgIcon;

#[component]
pub fn Mail(#[prop(into, optional)] class: Signal<String>) -> impl IntoView {
    view! {
        <SvgIcon class=class>
            <title>"Rust UI Icons - Mail"</title>

            <path d="m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7" />
            <rect x="2" y="4" width="20" height="16" rx="2" />
        </SvgIcon>
    }
}
