React components are reusable and can contain other components

More information: https://reactjs.org/docs/components-and-props.html

A react component can include an array of react elements or components (though each element should have its own key, which should be unique: https://reactjs.org/docs/lists-and-keys.html):

We can therefore use the array map method (https://www.w3schools.com/jsref/jsref_map.asp) to map data values to React elements: