styled components background image import 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} />