diff --git a/src/components/items_list.rs b/src/components/items_list.rs new file mode 100644 index 0000000..898a98e --- /dev/null +++ b/src/components/items_list.rs @@ -0,0 +1,23 @@ +use leptos::*; +use crate::models::item::Item; + +#[component] +pub fn ItemsList(cx: Scope, items: Vec) -> impl IntoView { + view! { cx, +
+

{ "Items" }

+ +
+ } +}