mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 09:54:41 -05:00
feat: impl IntoFragment for AnyView (#4087)
This commit is contained in:
@@ -53,6 +53,12 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl IntoFragment for AnyView {
|
||||
fn into_fragment(self) -> Fragment {
|
||||
Fragment::new(vec![self])
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> IntoFragment for Vec<T>
|
||||
where
|
||||
T: IntoAny,
|
||||
|
||||
Reference in New Issue
Block a user