use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Ticket(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Ticket" }
            path { d: "M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z" }
            path { d: "M13 5v2" }
            path { d: "M13 17v2" }
            path { d: "M13 11v2" }
        }
    }
}
