Closed
Description
Hi!
I want the parent component to be able to set classes on it's child components. Therefore I need the className
to be appended at runtime. But this:
<div className={this.props.className} styleName={"foo"}>
Renders:
<div class="undefined foo___1ZSNk">
Even if the parent component passes className to the child component.
Thank you!