Why is `className` in react is not a string? I am ...
# javascript
i
Why is
className
in react is not a string? I am writing it like
Copy code
className = ClassName("navbar is-primary")
And I am either doing it wrong or I just don't see why isn't it just a string.
💯 1
t
Where declared
navbar
,
is-primary
?
i
Sorry? I don't quite understand the question?
t
Is
navbar
declared in external css file?
i
Yeah, bulma
I just load them from some public cdn