// import PropTypes from "prop-types" // import styled from 'styled-components'; // import '../DataBase/DummyDBWinLoss.js' // import '../DataBase/DataProfileUser.js' import { DBWinLoss } from '../DataBase/DummyDBWinLoss.js'; import '../styles/Win_Loss.css' import { UserProfile } from '../DataBase/DataUserProfile'; // import color from '../../utils/style/color.js'; // const CardWrapper = styled.div` // display: flex; // flex-direction: column; // padding: 15px; // background-color: black; // border-radius: 30px; // width: 350px; // transition: 200ms; // margin-top: 50px; // &:hover { // cursor: pointer; // box-shadow: 2px 2px 10px #b6b6b6; // } // ` // const CardLabel1 = styled.h1` // color: #5843e4; // // font-size: 22px; // font-weight: bold; // margin-bottom: 25px; // ` // const CardLabel2 = styled.span` // color: #5843e4; // font-size: 22px; // font-weight: bold; // display: flex; // flex-direction: column; // ` // const CardImage = styled.img` // heigh: 80px; // width: 80px; // border-radius: 50%; // ` function WinLoss() { return (

Match history Win/Loss

{DBWinLoss.map((item, index) => { return (
  • {item.title}

    {UserProfile.UserName}

    {item.score} {item.openent}

    {/*

    {item.openent}

    */}
  • ) })}
    ) } // Card.propTypes = { // label: PropTypes.string, // title: PropTypes.string.isRequired, // picture: PropTypes.string, // } export default WinLoss