Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

adding more than one class react

import style from '/css/style.css';

<div className={style.style1+ ' ' + style.style2} />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #adding #class #react
ADD COMMENT
Topic
Name
7+7 =