DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to give width through props
style
=
{
{
width
:
`
${
props
.
width
}
`
,
height
:
`
${
props
.
height
}
`
}
}
PREVIOUS
NEXT
Tagged:
#give
#width
#props
ADD COMMENT
Topic
COMMENT
Name
1+5 =
Submit