Answer the question
In order to leave comments, you need to log in
How to make automatic block color change?
There is a div block that has colors inline.
<div style={{ backgroundColor: 'green', height: '500px', width: '100%' }}></div>
this.state = {
colors: ['#000', '#444', '#f2f2f2'],
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question