import React from "react"; import { useTranslation } from "react-i18next"; import { Dialog, DialogContent, Divider, Grid, List, ListItemText, ListItem, ListItemIcon, Typography, } from "@mui/material"; import InventoryIcon from '@mui/icons-material/Inventory'; import SellIcon from '@mui/icons-material/Sell'; import SmartToyIcon from '@mui/icons-material/SmartToy'; import PercentIcon from '@mui/icons-material/Percent'; import PriceChangeIcon from '@mui/icons-material/PriceChange'; import BookIcon from '@mui/icons-material/Book'; import { pn } from "../../utils/prettyNumbers"; type Props = { isOpen: boolean; handleClickCloseExchangeSummary: () => void; numPublicBuyOrders: number; numPublicSellOrders: number; bookLiquidity: number; activeRobotsToday: number; lastDayNonkycBtcPremium: number; makerFee: number; takerFee: number; } const ExchangeSummaryDialog = ({ isOpen, handleClickCloseExchangeSummary, numPublicBuyOrders, numPublicSellOrders, bookLiquidity, activeRobotsToday, lastDayNonkycBtcPremium, makerFee, takerFee, }: Props): JSX.Element => { const { t } = useTranslation(); return ( {t("Exchange Summary")} {(makerFee * 100).toFixed(3)}% {(takerFee * 100).toFixed(3)}% ); }; export default ExchangeSummaryDialog;