Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. import React from 'react';
  2. import Gallerys from 'react-photo-gallery';
  3.  
  4. const Content = styled.div`
  5. height: 700px;
  6. width: auto;
  7. overflow-x: scroll;
  8. img {
  9. border-radius:10px;
  10. }
  11. `;
  12.  
  13. class Gallery extends React.Component {
  14.  
  15. render() {
  16. return (
  17. <Content>
  18. <Gallerys direction={'row'} margin={40} photos={images} />
  19. </Content>
  20. );
  21. }
  22. }
  23.  
  24. export default Gallery;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement