When I am trying to load image from props i am getting the following error warning: failed prop type: invalid prop source supplied to image
source
image
You can place Image directly in the Component, as a prop children.
The Component A will be composed of
function ComponentA(props) { return ( {props.children} ); }
This will render the image.