impulse_thaw/card/card_footer.rs
1use leptos::prelude::*;
2use thaw_utils::{class_list, mount_style};
3
4#[component]
5pub fn CardFooter(
6 #[prop(optional, into)] class: MaybeProp<String>,
7 children: Children,
8) -> impl IntoView {
9 mount_style("card-footer", include_str!("./card-footer.css"));
10 view! { <div class=class_list!["thaw-card-footer", class]>{children()}</div> }
11}