Functional dashboard button
This commit is contained in:
1 parent
647e7d88a6
commit
587b5ff48c
6 files changed
+54
-5
No files matched your search
@@ -0,0 +1,15 @@
|
||||
use crate::components::dashboard_button::DashboardButton;
|
||||
use leptos::prelude::*;
|
||||
#[component]
|
||||
pub fn TestPage() -> impl IntoView {
|
||||
view! {
|
||||
<div class="p-6 space-y-4">
|
||||
<DashboardButton
|
||||
title="Home Page"
|
||||
description="Navigate to Home Page"
|
||||
icon="/public/square-user.svg"
|
||||
path="/"
|
||||
/>
|
||||
</div>
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user