So I am making a navbar with react , I use three components for menu bar text logo and buttons. I give background of navbar to transparent and components to black. When hover components background turn white and navbar to white. The problem is I used three files for each component and I want to make the components color to turn white when the navbar is hovered , I don't want the components to change color when only it is hovered. How can I do that ? How can I target the components class Name in the Navbar hover class ?