change style component

This commit is contained in:
Ehsan
2024-10-10 21:41:38 +03:30
parent 1749c9577f
commit fb0c02abd4
5 changed files with 32 additions and 4 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ import { Button, Switch, TableCell, TableRow } from "@mui/material";
import TextLoading from "@/app/component/loading/Text";
import TrashB from "@/components/icons/TrashB";
import EditB from "@/components/icons/EditB";
import SwitchTable from "@/app/component/SwitchTable";
function List({ data, loading }) {
const tableHead = ["ردیف", "شماره کارت", "شماره شبا", "بانک", "وضعیت", ""];
@@ -58,7 +59,7 @@ function List({ data, loading }) {
<p className="text-[16px] min-w-[60px] font-medium text-[#616161]">
{row.status ? "فعال" : "غیر فعال"}
</p>
<Switch dir="ltr" />
<SwitchTable />
</div>
</TextLoading>
</TableCell>