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 DistributionInvestor = ({ isOpen, onClose }) => { // ====================================================[Table Setup]================================================================ const tableHeadRow = [ "Sr No.", "Client Id", "First name", "Last Name", "Amount", "%", "($)", ]; const filteredData = [ { 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": ( BH00000001 ), "First name": ( Faisal ), "Last Name": ( Aljalahma ), Amount: ( $100,000 /- ), "%": ( 26.0 % ), "($)": ( $100,000 /- ), })) ); const Total = () => { return (
Total {" "} {" "} {" "} $100200 100.0% $100230
); }; return ( Distribution To Investor Transaction Amount to Distribute {/* */} } // isLoading={isLoading} /> ); }; export default DistributionInvestor;