86 lines
2.2 KiB
React
86 lines
2.2 KiB
React
|
|
import {
|
||
|
|
Box,
|
||
|
|
Button,
|
||
|
|
FormControl,
|
||
|
|
FormLabel,
|
||
|
|
Input,
|
||
|
|
Modal,
|
||
|
|
ModalBody,
|
||
|
|
ModalCloseButton,
|
||
|
|
ModalContent,
|
||
|
|
ModalFooter,
|
||
|
|
ModalHeader,
|
||
|
|
ModalOverlay,
|
||
|
|
Text,
|
||
|
|
Textarea,
|
||
|
|
} from "@chakra-ui/react";
|
||
|
|
|
||
|
|
const Exit = ({ isOpen, onClose }) => {
|
||
|
|
return (
|
||
|
|
<Modal isOpen={isOpen} onClose={onClose}>
|
||
|
|
<ModalOverlay />
|
||
|
|
<ModalContent>
|
||
|
|
<ModalHeader fontSize={'md'}>Amount Invested</ModalHeader>
|
||
|
|
<ModalCloseButton />
|
||
|
|
<ModalBody>
|
||
|
|
<FormControl mb={"15px"}>
|
||
|
|
<FormLabel as={"label"} fontSize={"sm"} fontWeight={500}>
|
||
|
|
Date
|
||
|
|
</FormLabel>
|
||
|
|
<Input
|
||
|
|
placeholder="Select Date"
|
||
|
|
size="sm"
|
||
|
|
rounded={'sm'}
|
||
|
|
fontSize={"sm"}
|
||
|
|
focusBorderColor="forestGreen.300"
|
||
|
|
type="date"
|
||
|
|
/>
|
||
|
|
</FormControl>
|
||
|
|
|
||
|
|
<FormControl mb={"15px"} >
|
||
|
|
<FormLabel as={"label"} fontSize={"sm"} fontWeight={500}>IO NAV</FormLabel>
|
||
|
|
<Input
|
||
|
|
size="sm"
|
||
|
|
rounded={'sm'}
|
||
|
|
textAlign={'end'}
|
||
|
|
focusBorderColor="forestGreen.300"
|
||
|
|
fontSize={"sm"} placeholder="$00.00" />
|
||
|
|
</FormControl>
|
||
|
|
|
||
|
|
<FormControl mb={"15px"} >
|
||
|
|
<FormLabel as={"label"} fontSize={"sm"} fontWeight={500}>Distribution</FormLabel>
|
||
|
|
<Input
|
||
|
|
size="sm"
|
||
|
|
rounded={'sm'}
|
||
|
|
textAlign={'end'}
|
||
|
|
focusBorderColor="forestGreen.300"
|
||
|
|
fontSize={"sm"} placeholder="$00.00" />
|
||
|
|
</FormControl>
|
||
|
|
|
||
|
|
</ModalBody>
|
||
|
|
<ModalFooter>
|
||
|
|
<Button
|
||
|
|
bg={"hsla(139, 100%, 14%, 1)"}
|
||
|
|
mr={3}
|
||
|
|
color={"#fff"}
|
||
|
|
_hover={{
|
||
|
|
bg: "hsl(139deg 98.99% 26.59%)",
|
||
|
|
}}
|
||
|
|
size={'sm'}
|
||
|
|
rounded={"sm"}
|
||
|
|
>
|
||
|
|
Save
|
||
|
|
</Button>
|
||
|
|
<Button
|
||
|
|
size={'sm'}
|
||
|
|
rounded={"sm"} mr={3} onClick={onClose}>
|
||
|
|
Close
|
||
|
|
</Button>
|
||
|
|
</ModalFooter>
|
||
|
|
</ModalContent>
|
||
|
|
</Modal>
|
||
|
|
);
|
||
|
|
};
|
||
|
|
|
||
|
|
export default Exit;
|
||
|
|
|