use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn FileWarning(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - FileWarning" }
            path { d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z" }
            path { d: "M12 9v4" }
            path { d: "M12 17h.01" }
        }
    }
}
