Call function inside of className reactjs

Posted by Editorial Staff | Updated on

call function inside of className reactjs. You’re referencing the instance of the getClass() function as opposed to calling the function. Try tweaking it like so:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers