use leptos::prelude::*;

use crate::_svg_icon::SvgIcon;

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

            <path d="M21 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-2Z" />
            <path d="M6 15v-2" />
            <path d="M12 15V9" />
            <circle cx="12" cy="6" r="3" />
        </SvgIcon>
    }
}
