I am trying to pass custom prop within React.Children.forEach loop.
React.Children.forEach(children, (child) => { let componentName; let newVar; if (child