use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Newspaper(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Newspaper" }
            path { d: "M15 18h-5" }
            path { d: "M18 14h-8" }
            path { d: "M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2" }
            rect { width: "8", height: "4", x: "1", y: "6", rx: "1" }
        }
    }
}
