use leptos::prelude::*;

use super::animated_icon_component::AnimatedIcon;
use crate::common::icon_type::IconTypeAnimated;

/// AArrowDownAnimate icon component
#[component]
pub fn AArrowDownAnimate(#[prop(into, optional)] class: Signal<String>) -> impl IntoView {
    view! { <AnimatedIcon icon=IconTypeAnimated::AArrowDownAnimate class=class /> }
}

/// AirVentAnimate icon component
#[component]
pub fn AirVentAnimate(#[prop(into, optional)] class: Signal<String>) -> impl IntoView {
    view! { <AnimatedIcon icon=IconTypeAnimated::AirVentAnimate class=class /> }
}

/// AlarmClockAnimate icon component
#[component]
pub fn AlarmClockAnimate(#[prop(into, optional)] class: Signal<String>) -> impl IntoView {
    view! { <AnimatedIcon icon=IconTypeAnimated::AlarmClockAnimate class=class /> }
}

/// HeartAnimate icon component
#[component]
pub fn HeartAnimate(#[prop(into, optional)] class: Signal<String>) -> impl IntoView {
    view! { <AnimatedIcon icon=IconTypeAnimated::HeartAnimate class=class /> }
}

/// PlusAnimate icon component
#[component]
pub fn PlusAnimate(#[prop(into, optional)] class: Signal<String>) -> impl IntoView {
    view! { <AnimatedIcon icon=IconTypeAnimated::PlusAnimate class=class /> }
}
