Search
 
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
Name
6+9 =