import { Box, Button, FormControl, FormLabel, HStack, Input, Modal, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalOverlay, Switch, Table, Tbody, Text, Textarea, Th, Tr, } from "@chakra-ui/react"; import DataTable from "../../../../Components/DataTable/DataTable"; import { useState } from "react"; import { AddIcon } from "@chakra-ui/icons"; const Exit = ({ isOpen, onClose }) => { // ====================================================[Table Setup]================================================================ const tableHeadRow = [ "Sr No.", "Client Id", "First name", "Last Name", "Invested Amount", "Distribution %", "Exit Amount", ]; const filteredData = [ { id: 1, }, { id: 1, }, { id: 1, }, { id: 1, }, { id: 1, }, { id: 1, }, ]; const [extractedArray, setExtractedArray] = useState( filteredData?.map((item, index) => ({ id: item?.id, "Sr No.": ( {index + 1} ), "Client Id": ( BH0000000 ), "First name": ( Faisal ), "Last Name": ( Aljalahma ), "Invested Amount": ( $100,000 ), "Distribution %": ( 26.0 % ), "Exit Amount": ( $100,000 ), })) ); const Total = () => { return (
Total {" "} {" "} {" "} $1,000,000 100.0% $1,229,750
); }; return ( Exit Transaction Enter Exit Amount } // isLoading={isLoading} /> ); }; export default Exit;