mobile downloader

This commit is contained in:
YasinShaikh123
2024-08-20 15:55:06 +05:30
parent adb4bd5d27
commit e07a92ba03
2 changed files with 20 additions and 7 deletions

View File

@@ -10,6 +10,7 @@ import {
ModalHeader,
ModalOverlay,
Progress,
Spinner,
Stack,
Text,
} from "@chakra-ui/react";
@@ -115,7 +116,18 @@ const MobileView = ({ isOpen, onClose, finalRef, actionId }) => {
px={"15px"}
>
{IObyIDisLoading ? (
<FullscreenLoaders />
<Box
display={"flex"}
justifyContent={"center"}
alignItems={"center"}
h={"100%"}
>
<Spinner
thickness='3px'
color='purple.900'
size='lg'
/>
</Box>
) : (
<>
<Box>

View File

@@ -189,21 +189,22 @@ const ViewIOTable = () => {
),
Preview: (
<Box display={"flex"} justifyContent={"start"}>
<Button
// _hover={{ color: "green.500" }}
<Badge
display={"flex"} px={2} py={1} alignItems={"center"}
color={"#000"}
fontWeight={500}
bg="purple.200"
// transition={"0.5s all"}
onClick={() =>{
setActionId(item.id)
onOpen();
}}
// color="green.300"
rounded={"md"}
rounded={"sm"}
size={"xs"}
variant={"ghost"}
cursor={"pointer"}
>
<ImMobile className="me-1" /> View
</Button>
</Badge>
</Box>
),
Action: (