W
W
WessBorland2019-12-09 09:40:52
React
WessBorland, 2019-12-09 09:40:52

How to change / add a class to a functional component in react?

In general, I would like to know how to solve this issue. Here I mean style classes. Particularly interesting when using modularity in css
The topic is interesting precisely from the point of view of the functional component

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Abr_ya, 2019-12-09
@WessBorland

If I understood the question correctly, then:
https://github.com/JedWatson/classnames
"A simple javascript utility for conditionally joining classNames together"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question