From 938edde70415501d058d5e41963fed776448f5aa Mon Sep 17 00:00:00 2001 From: Wikzyy Date: Thu, 27 Mar 2025 09:31:05 +0700 Subject: [PATCH] add Wallet History --- .../wallet/wallet-history/WalletHistory.tsx | 32 +++++++++++ .../wallet-history/blocks/ListToolbar.tsx | 55 +++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 src/pages/wallet/wallet-history/WalletHistory.tsx create mode 100644 src/pages/wallet/wallet-history/blocks/ListToolbar.tsx diff --git a/src/pages/wallet/wallet-history/WalletHistory.tsx b/src/pages/wallet/wallet-history/WalletHistory.tsx new file mode 100644 index 0000000..d146a2d --- /dev/null +++ b/src/pages/wallet/wallet-history/WalletHistory.tsx @@ -0,0 +1,32 @@ +import { Container, DataGridInner } from '@/components'; +import { ManageWalletContextProvider } from './hooks/ManageWalletHistoryContext'; +import { Breadcrumbs, Link } from '@mui/material'; + +const WalletHistory = () => { + return ( + + +

Wallet History

+ + + Dashboard + + + + Wallet + + + + Wallet History + + + +
+ +
+
+
+ ); +}; + +export default WalletHistory; diff --git a/src/pages/wallet/wallet-history/blocks/ListToolbar.tsx b/src/pages/wallet/wallet-history/blocks/ListToolbar.tsx new file mode 100644 index 0000000..cc4aee9 --- /dev/null +++ b/src/pages/wallet/wallet-history/blocks/ListToolbar.tsx @@ -0,0 +1,55 @@ +import { DefaultTooltip, KeenIcon, useDataGrid } from '@/components'; +import { useManageWalletContext } from '../hooks/useManageWalletHistoryContext'; +import { Button } from '@/components/ui/button'; + +const ListToolbar = () => { + const { table, reload } = useDataGrid(); + const { handleAddDialog } = useManageWalletContext(); + + return ( +
+
+
+
+ + {/* + + */} +
+
+ + + + +
+
+
+
+ ); +}; + +export default ListToolbar;