use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Battery(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Battery" }
            path { d: "M 22 14 L 22 10" }
            rect { width: "16", height: "12", x: "2", y: "6", rx: "2" }
        }
    }
}
