use leptos::prelude::*;

use crate::_svg_icon::SvgIcon;

#[component]
pub fn Fence(#[prop(into, optional)] class: Signal<String>) -> impl IntoView {
    view! {
        <SvgIcon class=class>
            <title>"Rust UI Icons - Fence"</title>

            <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" />
        </SvgIcon>
    }
}
