use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn TrainTrack(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - TrainTrack" }
            path { d: "M2 17 17 2" }
            path { d: "m2 14 8 8" }
            path { d: "m5 11 8 8" }
            path { d: "m8 8 8 8" }
            path { d: "m11 5 8 8" }
            path { d: "m14 2 8 8" }
            path { d: "M7 22 22 7" }
        }
    }
}
