Merge className
correctly when it’s a function
#2412
Merged
className
correctly when it’s a function
#2412