display images in react gallery code example Example: react gallery component npm install react-image-gallery