how to use react to map only part of the array code example
Example: how map work in react
{this.state.data.map((person) => <TableRow key = {shortid.generate()} data = {person} />)}
{this.state.data.map((person) => <TableRow key = {shortid.generate()} data = {person} />)}