grommet / grommet-site

Site for Grommet v2
Apache License 2.0
32 stars 68 forks source link

Add more value types to data object example #473

Closed halocline closed 11 months ago

halocline commented 1 year ago

Adds a more complex object to the data example including property values of type array or object:

`[
  {
    id: 1, 
    name: 'Scott', 
    age: 24,
    siblings: ['Scarlet', 'Scout'],
    contact: {
      company: 'Acme, Inc.',
      social: '@scotty',
    },
  },
  {
    id: 2, 
    name: 'Zelsa', 
    age: 91,
    siblings: ['Zack', 'Zoe', 'Zelda', 'Zed', 'Ziggy'],
    contact: {
      company: 'Retired',
    },
  },
]`