use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn PictureInPicture(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - PictureInPicture" }
            path { d: "M2 10h6V4" }
            path { d: "m2 4 6 6" }
            path { d: "M21 10V7a2 2 0 0 0-2-2h-7" }
            path { d: "M3 14v2a2 2 0 0 0 2 2h3" }
            rect { width: "10", height: "7", x: "1", y: "14", rx: "1" }
        }
    }
}
