Guest User

Untitled

a guest
Jan 24th, 2019
72
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const Image = styled.div<{ backgroundImage: string }>`
  2. background-position: center;
  3. background-size: cover;
  4. background-image: ${props => `url(${props.backgroundImage}`};
  5. `;
  6.  
  7. <Image backgroundImage={result.imageUrl}/>
RAW Paste Data