import background image as a wrapper with styled com code example
Example: background image with styled components
const Content = styled.div`
background-image: url(${props => props.img});
`;
<Content img={ImagePath} />
const Content = styled.div`
background-image: url(${props => props.img});
`;
<Content img={ImagePath} />