creating a gallery with reactjs code example Example: react gallery component npm install react-image-gallery