React.Children: React.Children.map

React.Children.map

React.Children.map(children, function[(thisArg)])

Invokes a function on every immediate child contained within children with this set to thisArg.

If children is an array it will be traversed and the function will be called for each child in the array. If children is null or undefined, this method will return null or undefined rather than an array. If children is a Fragment it will be treated as a single child and not traversed.

Related concepts

React.Children: React.Children.map — Structure map

Clickable & Draggable!

React.Children: React.Children.map — Related pages: