From 647e7d88a6c108f8e5ba7aa4ceab961767814349 Mon Sep 17 00:00:00 2001 From: meraghon Date: Sun, 23 Nov 2025 15:09:36 -0500 Subject: [PATCH] Framework for Dashboard Button --- src/components/dashboard_button.rs | 5 +++++ src/components/mod.rs | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 src/components/dashboard_button.rs diff --git a/src/components/dashboard_button.rs b/src/components/dashboard_button.rs new file mode 100644 index 0000000..47fe320 --- /dev/null +++ b/src/components/dashboard_button.rs @@ -0,0 +1,5 @@ +use leptos::prelude::*; +#[component] +pub fn DashboardButton() -> impl IntoView { + view! {} +} diff --git a/src/components/mod.rs b/src/components/mod.rs index 2616640..283bd63 100644 --- a/src/components/mod.rs +++ b/src/components/mod.rs @@ -1,5 +1,7 @@ mod action_button; mod checkbox; +mod chips; +mod dashboard_button; mod loading; mod multi_entry; mod panel; @@ -7,9 +9,8 @@ mod radio; mod row; mod select; mod text_field; -mod chips; pub use self::{ - action_button::*, checkbox::*, loading::*, multi_entry::*, panel::*, radio::*, row::*, - select::*, text_field::*, chips::* + action_button::*, checkbox::*, chips::*, loading::*, multi_entry::*, panel::*, radio::*, + row::*, select::*, text_field::*, };