I'm currently learning React and faced a unique situation while working on projects.
Here's the scenario - I have two React child components nested under a standard HTML element.
If I need to target and style each individual React child element, how can I achieve that?
Normally, with HTML elements, I would assign a className to each child HTML element and style them accordingly.
However, this approach doesn't seem to work with React components. Can someone please suggest a solution?