Update wording

This commit is contained in:
Chalarangelo
2021-10-13 20:40:54 +03:00
parent a1d4f62042
commit b4dd74f868
18 changed files with 44 additions and 42 deletions

View File

@ -12,7 +12,7 @@ Renders a table with rows dynamically created from an array of objects and a lis
- Use `Array.prototype.map()` to render each value in the `propertyNames` array as a `<th>` element.
- Use `Array.prototype.map()` to render each object in the `filteredData` array as a `<tr>` element, containing a `<td>` for each key in the object.
_This component does not work with nested objects and will break if there are nested objects inside any of the properties specified in `propertyNames`_
_This component does not work with nested objects and will break if there are nested objects inside any of the properties specified in `propertyNames`._
```jsx
const MappedTable = ({ data, propertyNames }) => {