import { Avatar, Box, Dialog, Link, List, ListItem, ListItemText, Typography } from "@mui/material"; import { useTheme } from "@mui/material/styles"; import CloseIcon from '@mui/icons-material/Close'; import GhostStyledIcon from "../../../components/Icon/GhostIcon"; import Token from "../../../components/Token/Token"; const TokenModal = ({ open, handleSelect, handleClose, ftsoBalance = "0.00", stnkBalance = "0.00", ghstBalance = "0.00", tokenToExclude, isUpper, ftsoSymbol, stnkSymbol, ghstSymbol }) => { const theme = useTheme(); const TokenItem = ({ token, name, exclude, isUpper, balance = "0", icon, address = "", price, decimals, ...props }) => { if (name === exclude) { return <>; } return ( { handleSelect({token, isUpper}); handleClose(); }} sx={{ borderBottom: `1px solid ${theme.colors.gray[500]}` }} {...props} > {icon ? ( ) : ( )} ); }; return ( {`Select a token`} {} {} {} ); }; export default TokenModal;