use dioxus::prelude::*;

use super::SvgIcon;

#[component]
pub fn Fence(class: Option<String>) -> Element {
    rsx! {
        SvgIcon { class,
            title { "Rust UI Icons - Fence" }
            path { d: "M4 3 2 5v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z" }
            path { d: "M6 8h4" }
            path { d: "M6 18h4" }
            path { d: "m12 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z" }
            path { d: "M14 8h4" }
            path { d: "M14 18h4" }
            path { d: "m20 3-2 2v15c0 .6.4 1 1 1h2c.6 0 1-.4 1-1V5Z" }
        }
    }
}
