change component design
This commit is contained in:
@@ -3,10 +3,10 @@ import Head from "./Head";
|
||||
|
||||
function Account() {
|
||||
return (
|
||||
<>
|
||||
<div className="opacity-page">
|
||||
<Head />
|
||||
<Form />
|
||||
</>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ function List({ data, loading }) {
|
||||
<p className="text-[16px] min-w-[60px] font-medium text-[#616161]">
|
||||
{row.status ? "فعال" : "غیر فعال"}
|
||||
</p>
|
||||
<SwitchTable />
|
||||
<SwitchTable value={row.status} />
|
||||
</div>
|
||||
</TextLoading>
|
||||
</TableCell>
|
||||
|
||||
@@ -2,10 +2,8 @@ import { useState } from "react";
|
||||
import { Box, Button, Modal } from "@mui/material";
|
||||
import { styleDefault } from "@/mui";
|
||||
import CloseModalD from "@/components/icons/CloseModalD";
|
||||
import ArrowLeftPA from "@/components/icons/ArrowLeftPA";
|
||||
import Form from "./Form";
|
||||
import PlusBlueP from "@/components/icons/PlusBlueP";
|
||||
import AddLocationP from "@/components/icons/AddLocationP";
|
||||
import PlusB from "@/components/icons/PlusB";
|
||||
|
||||
function ModalAddCard() {
|
||||
const [open, setOpen] = useState(false);
|
||||
@@ -28,8 +26,8 @@ function ModalAddCard() {
|
||||
onClick={handleOpen}
|
||||
variant="contained"
|
||||
>
|
||||
<PlusB />
|
||||
اضافه کردن کارت
|
||||
<AddLocationP />
|
||||
</Button>
|
||||
{/* Content Modal */}
|
||||
<Modal open={open} onClose={handleClose}>
|
||||
|
||||
@@ -3,7 +3,7 @@ import List from "./List";
|
||||
|
||||
function Bank({ data }) {
|
||||
return (
|
||||
<div>
|
||||
<div className="opacity-page">
|
||||
<Head />
|
||||
<List data={data} loading={false} />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user