feat : add progressSpace Components and add in ListConfig

This commit is contained in:
alij
2024-06-08 23:45:05 -07:00
parent 7ef23521c0
commit 0c28e72536
4 changed files with 92 additions and 7 deletions

View File

@@ -3,6 +3,7 @@ import MuiModal from "../../../../common/modal";
import Button from "../../../../components/button";
import { IoCopy } from "react-icons/io5";
import Alert from "../../../../components/alert/Alert";
import ProgressSpace from "../../../../components/progressSpace";
const ModalConfigDetails = ({
isOpen,
@@ -36,15 +37,21 @@ const ModalConfigDetails = ({
</Button>
) : (
<>
<Button extra="!m-0 !px-2 !py-1.5 shadow-md shadow-white">
<Button extra="!m-0 !px-2 !py-1.5 flex flex-row-reverse justify-center items-center gap-1 shadow-md shadow-white">
کپی
<IoCopy />
</Button>
<Button extra="!m-0 !px-2 !py-1 shadow-md shadow-white">
<Button extra="!m-0 !px-2 !py-1.5 shadow-md shadow-white">
آموزش
</Button>
</>
)}
</div>
{!isDisabled && (
<div className="w-full h-full">
<ProgressSpace startSpace={100} endSpace={200} />
</div>
)}
</div>
</MuiModal>
);