use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn MailWarning(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - MailWarning" }
            path { d: "M22 10.5V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h12.5" }
            path { d: "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7" }
            path { d: "M20 14v4" }
            path { d: "M20 22v.01" }
        }
    }
}
