VK
const steps = Children.toArray(children);
const step = steps[stepNumber];
и в рендере {step}
надо в step передать prop
https://codesandbox.io/s/pass-prop-to-a-component-with-reactcreateelement-4uq2s?file=/src/App.js
Но я бы лучше юзал render prop, как посоветовали выше




