use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Pyramid(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Pyramid" }
            path { d: "M2.5 16.88a1 1 0 0 1-.32-1.43l9-13.02a1 1 0 0 1 1.64 0l9 13.01a1 1 0 0 1-.32 1.44l-8.51 4.86a2 2 0 0 1-1.98 0Z" }
            path { d: "M12 2v20" }
        }
    }
}
