Facebook
From Sweet Macaw, 4 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 188
  1. componentDidMount()
  2.         {
  3.                 let membersCollection = [
  4.                         {
  5.                                 firstName: "Juan",
  6.                                 lastName: "Dela Cruz",
  7.                                 position: "Instructor",
  8.                                 team: "Instructor Team"
  9.                         },
  10.                         {
  11.                                 firstName: "Antonio",
  12.                                 lastName: "Cruz",
  13.                                 position: "HR Manager",
  14.                                 team: "HR Team"
  15.                         },
  16.                         {
  17.                                 firstName: "Antonia",
  18.                                 lastName: "Cruza",
  19.                                 position: "Finance Manager",
  20.                                 team: "Finance Team"
  21.                         },
  22.                         {
  23.                                 firstName: "Antonie",
  24.                                 lastName: "Cruze",
  25.                                 position: "Billing Manager",
  26.                                 team: "Billing Team"
  27.                         },
  28.                         {
  29.                                 firstName: "Antoniu",
  30.                                 lastName: "Cruzu",
  31.                                 position: "Student",
  32.                                 team: "A Team"
  33.                         }
  34.                 ]
  35.  
  36.                 this.setState({ members: membersCollection })
  37.         }