Guest User

Untitled

a guest
Nov 12th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. const User = ({ name, friends }) => (
  2. <div>
  3. Name: {name}
  4. {friends.map(friend => (
  5. <User key={friend.name} {...friend} />
  6. ))}
  7. </div>
  8. );
Add Comment
Please, Sign In to add comment