Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const Image = styled.div<{ backgroundImage: string }>`
- background-position: center;
- background-size: cover;
- background-image: ${props => `url(${props.backgroundImage}`};
- `;
- <Image backgroundImage={result.imageUrl}/>
Add Comment
Please, Sign In to add comment