import { Container, DataGridInner } from '@/components';
import { ManageWalletContextProvider } from './hooks/ManageWalletHistoryContext';
import { Breadcrumbs, Link } from '@mui/material';
import { Helmet } from 'react-helmet';

const WalletHistory = () => {
  return (
    <>
      <Helmet>
        <title>TPAY | Wallet History</title>
      </Helmet>
      <ManageWalletContextProvider>
        <Container>
          <h1 className="text-xl font-medium leading-none text-gray-900 mb-5">Wallet History</h1>
          <Breadcrumbs sx={{ mb: 2 }}>
            <Link underline="none" color="inherit" href="/">
              <span className="text-sm hover:underline">Dashboard</span>
            </Link>

            <Link underline="none" color="inherit">
              <span className="text-sm">Wallet</span>
            </Link>

            <Link underline="none" color="inherit">
              <span className="text-sm">Wallet History</span>
            </Link>
          </Breadcrumbs>

          <div className="grid gap-5 lg:gap-7.5">
            <DataGridInner />
          </div>
        </Container>
      </ManageWalletContextProvider>
    </>
  );
};

export default WalletHistory;
