title: Pass prop that has a dynamic name in react to child component
body: <p>If I have a prop that has a dynamic name, say <code>myProp[regNo]</code> where <code>regNo</code> could be a series of numbers, (in the react Dev tools, it could render as <code>myProp5645262</code> how do I pass that prop to a child?</p>