import { FunctionComponent } from "react"; import ReactModal from "react-modal"; import styled from "styled-components"; import color from "../../styles/color"; import { WalletList } from "../../constants/wallet"; import { WalletItem } from "./wallet-item"; interface Props { isModalOpen: boolean; onCloseModal: () => void; } export const ConnectWalletModal: FunctionComponent = (props) => { const { isModalOpen, onCloseModal } = props; return ( Connect Wallet Plz check which account is selected after you connect it {WalletList.map((walletItem) => { return ; })} ); }; const ModalContainer = styled.div` display: flex; flex-direction: column; gap: 0.9rem; padding: 2.2rem; min-width: 28rem; `; const ModalTitle = styled.div` font-family: "Inter", serif; font-style: normal; font-weight: 600; font-size: 1.5rem; line-height: 1.8rem; color: ${color.white}; `; const ModalDescription = styled.div` font-family: "Inter", serif; font-style: normal; font-weight: 500; font-size: 0.8rem; line-height: 1.1rem; color: ${color.grey["400"]}; `;