I have react component with a number of various children:
render() {
let Tag = '${this.props.wrapper}';
return (
<Tag>
{this.props.children}
</Tag>
);
}
When some event occured i need to change className
property of a number of children. Is there any way to do this from parent component?