deposit modal

This commit is contained in:
YasinShaikh123
2024-07-30 19:37:37 +05:30
parent c35cc888c4
commit fe9f7ac94e
5 changed files with 268 additions and 23 deletions

View File

@@ -10,7 +10,6 @@ import {
Skeleton,
TableCaption,
Box,
Text,
} from "@chakra-ui/react";
import { DragDropContext, Droppable, Draggable } from "react-beautiful-dnd";
import EmptySearchList from "../EmptySearchList";
@@ -29,8 +28,7 @@ const DataTable = ({
setMouseEntered,
setMouseEnteredId,
caption,
isDraggable,
capTitle
isDraggable
}) => {
const navigate = useNavigate();
const { slideFromRight } = useContext(GlobalStateContext);
@@ -64,7 +62,7 @@ const DataTable = ({
<Droppable droppableId="table">
{(provided) => (
<>
{/* */}
{/* <Box mb={2}>{caption}</Box> */}
<Table size="sm" {...provided.droppableProps} ref={provided.innerRef}>
<TableCaption p={0}>{caption}</TableCaption>
<Thead backgroundColor="gray.50">
@@ -147,10 +145,6 @@ const DataTable = ({
{provided.placeholder}
</Tbody>
</Table>
<Box>
<Text>{capTitle}</Text>
<Box mb={2}>{caption}</Box>
</Box>
</>
)}
</Droppable>