DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
change background image through props
style
=
{
{
backgroundImage
:
`
url(
${
props
.
backgroundImage
}
)
`
}
}
nouman
PREVIOUS
NEXT
Tagged:
#change
#background
#image
#props
ADD COMMENT
Topic
COMMENT
Name
2+8 =
Submit