DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
add condition inside a className in reactjs
className={`banner ${active ? "active" : ""}`}
PREVIOUS
NEXT
Tagged:
#add
#condition
#className
#reactjs
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit