react functional gallery code example Example: react gallery component npm install react-image-gallery