diff --git a/thaw/src/accordion/accordion_item.rs b/thaw/src/accordion/accordion_item.rs index 5ff6f55..d48e50c 100644 --- a/thaw/src/accordion/accordion_item.rs +++ b/thaw/src/accordion/accordion_item.rs @@ -1,10 +1,11 @@ use crate::AccordionInjection; use leptos::{html, prelude::*}; use thaw_components::CSSTransition; -use thaw_utils::{mount_style, update, with, StoredMaybeSignal}; +use thaw_utils::{class_list, mount_style, update, with, StoredMaybeSignal}; #[component] pub fn AccordionItem( + #[prop(optional, into)] class: MaybeProp, /// Required value that identifies this item inside an Accordion component. #[prop(into)] value: MaybeSignal, @@ -41,7 +42,7 @@ pub fn AccordionItem( }; view! { -
+