UpTest > Web Development > ReactJS Test

Test: ReactJS Test

Question 34: Prev Next Hide answers

How to set css class on div in ReactJs component?

Note: There may be more than one right answer.
<div rClass={'name'} />
0 votes
<div ngClass={'name'} />
0 votes
<div cssClass={'name'} />
0 votes
<div className={'name'} />
1 votes
<div class={'name'} />
0 votes
<div class="name" />
0 votes
<div className="name" />
1 votes
Please login to submit your answer.