use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn ChartCandlestick(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - ChartCandlestick" }
            path { d: "M9 5v4" }
            rect { width: "4", height: "6", x: "1", y: "9", rx: "1" }
            path { d: "M9 15v2" }
            path { d: "M17 3v2" }
            rect { width: "4", height: "8", x: "1", y: "5", rx: "1" }
            path { d: "M17 13v3" }
            path { d: "M3 3v16a2 2 0 0 0 2 2h16" }
        }
    }
}
