import React from 'react'; import styled from 'styled-components'; import {Card} from '@material-ui/core'; interface ExchangeStatProps { tokenName: string; description: string; price: string; } const ExchangeStat: React.FC = ({tokenName, description, price}) => { return ( {`💰 ${tokenName} = ${price}`} {description} ); }; const StyledCardTitle = styled.div` font-size: 20px; font-weight: 700; margin-bottom: ${(props) => props.theme.spacing[2]}px; `; const StyledDesc = styled.span` //color: ${(props) => props.theme.color.grey[300]}; text-align: center; `; const StyledCardContentInner = styled.div` height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: ${(props) => props.theme.spacing[2]}px; `; export default ExchangeStat;