Mapping the props to multiple children involves the use of React’s Children.map
so that you can map over each child Component provided to the Parent Component stream. Inside the mapping function, you use the cloneElement
and pass the props manually as you would with a single child component.