import styled from 'styled-components';
import img from './img/bg.gif';
const Content = styled.div
;
border: 1px solid #000;
background-image: url(${img});
width: 2000px;
height: 2000px;
import styled from 'styled-components';
import img from './img/bg.gif';
const Content = styled.div
;
border: 1px solid #000;
background-image: url(${img});
width: 2000px;
height: 2000px;
For further actions, you may consider blocking this person and/or reporting abuse
XLAB -
alvaradodaniel3 -
aiforme.wiki -
Emil Ossola -
Once suspended, aliendev66 will not be able to comment or publish posts until their suspension is removed.
Once unsuspended, aliendev66 will be able to comment and publish posts again.
Once unpublished, all posts by aliendev66 will become hidden and only accessible to themselves.
If aliendev66 is not suspended, they can still re-publish their posts from their dashboard.
Once unpublished, this post will become invisible to the public and only accessible to Domingos Capitango.
They can still re-publish the post if they are not suspended.
Thanks for keeping DEV Community safe. Here is what you can do to flag aliendev66:
Unflagging aliendev66 will restore default visibility to their posts.
Top comments (2)
what about if do we want the img was a props of the component? can be dynamic?
you can use something like this
background-image: ${(props) =>
url(${require(
../images/${props.backgroundImage}).default})
};