React - adding class to children components : <p>im using react and I have a component that simply needs to render the children and add them a class according to a condition.
Whats the best way of doing it?</p>
