use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn TabletSmartphone(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - TabletSmartphone" }
            rect { width: "10", height: "14", x: "2", y: "8", rx: "2" }
            path { d: "M5 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-2.4" }
            path { d: "M8 18h.01" }
        }
    }
}
