React: Cloning Children with Edited Props
React provides a few super useful top-level methods for manipulating this.props.children
to produce the desired output. This is particularly helpful when those children are not explicity known beforehand. React.Children.map works the same as the Array.prototype.map to loop over each child and apply a function, then return a new set. »