import { Container, DataGridInner } from '@/components';
import { ManageCurrencyContextProvider } from './hooks/ManageCurrencyContext';
import { Breadcrumbs, Link } from '@mui/material';
import { Delete } from 'lucide-react';
import AddDialog from './blocks/AddDialog';
import DeleteDialog from './blocks/DeleteDialog';
import EditDialog from './blocks/EditDialog';
import { Helmet } from 'react-helmet';

const CurrencyMaster = () => {
  return (
    <>
      <Helmet>
        <title>TPAY | Manage Currency</title>
      </Helmet>
      <ManageCurrencyContextProvider>
        <Container>
          <h1 className="text-xl font-medium leading-none text-gray-900 mb-5">Currency</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">Master Data</span>
            </Link>

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

          <div className="grid gap-5 lg:gap-7.5">
            <DataGridInner />
          </div>

          <AddDialog />
          <DeleteDialog />
          <EditDialog />
          {/* <EditDialog/>
        <DeleteDialog/> */}
        </Container>
      </ManageCurrencyContextProvider>
    </>
  );
};

export default CurrencyMaster;
