Guest User

Untitled

a guest
Dec 11th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. import React from 'react'
  2. import PropTypes from 'prop-types'
  3.  
  4. function People (props) {
  5. const {item} = props
  6. return (
  7. <tr>
  8. <td>{item.id}</td>
  9. <td>{item.username}</td>
  10. <td>{item.email}</td>
  11. <td>{item.phone}</td>
  12. </tr>
  13. )
  14. }
  15.  
  16. People.propTypes = {
  17. item: PropTypes.object,
  18. }
  19.  
  20. export default People;
Add Comment
Please, Sign In to add comment