not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
282 B

  1. import React from 'react';
  2. import User from './User'
  3. export default (props) => {
  4. var users = props.users;
  5. var userList = users.map((user) =>
  6. <User name={user.name} score={user.score} word={user.word}>
  7. );
  8. return(
  9. <div>
  10. <ol> {userList} </ol>
  11. </div>
  12. );
  13. }