cx
merge function of the classNames
Return value
Filters undefined and false and returns a string.
Argument expression
Good to know
Since falsy values are filtered out, you can use logical and, ternary operators, etc. in argument expressions.
merge function of the classNames
Filters undefined and false and returns a string.
Good to know
Since falsy values are filtered out, you can use logical and, ternary operators, etc. in argument expressions.