A generic React component to show a placeholder in place of an image while the image is loading and replace the placeholder with the image when the image has loaded.