use leptos::prelude::*;
#[component]
pub fn AnimateGroup(
#[prop(default = String::new())] class: String,
children: Children,
) -> impl IntoView {
let combined = format!("[&>*]:animate-slide-up {}", class);
view! {
<div class=combined>{children()}</div>
}
}