I am applying two classes to my JSX element one from my Parent Astro component the other is within my child component why does Astro give priority to my parent component class.
The className class comes from my Parent Component and the headerlink is a class within my child component. Why does Astro favor the color attribute on the Parent which is white.
My goal here is to set the all the NavLinks to be white but if the link is selected or active then it should be red.