Facebook
From TeamRow.js_10282019, 9 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 97
  1. import React, { Component } from 'react';
  2.  
  3. const TeamRow = (props) => {
  4.  
  5.                 const team = props.x;
  6.                 return (
  7.                                 <tr key={team._id}>
  8.                                         <td>{team.name}</td>
  9.                                         <td>{team.action}</td>
  10.                                 </tr>
  11.                 )
  12. }
  13.  
  14. export default TeamRow;
  15.