Update all snippets to new format

This commit is contained in:
Angelos Chalaris
2019-08-21 12:28:50 +03:00
parent 3deff54251
commit 7dfaffe7ac
26 changed files with 108 additions and 132 deletions

View File

@ -1,4 +1,7 @@
### DataTable
---
title: DataTable
tags: array,beginner
---
Renders a table with rows dynamically created from an array of primitives.
@ -32,7 +35,3 @@ function DataTable({ data }) {
const people = ['John', 'Jesse'];
ReactDOM.render(<DataTable data={people} />, document.getElementById('root'));
```
<!-- tags: array -->
<!-- expertise: 0 -->