//! Compatibility layer for backward compatibility
//!
//! This module provides individual animated icon component functions that maintain
//! the existing API while using the new registry pattern under the hood.
//!
//! All animated icon functions now use the unified AnimatedIcon component
//! with zero-allocation registry lookup for better performance.
//!
//! 🤖 AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
//! Generated by: generate_animated_compatibility_layer.py

use leptos::prelude::*;

use super::animated_icon_component::AnimatedIcon;
use super::animated_icon_type::AnimatedIconType;

// * 🧪 cargo test --doc --features leptos

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

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