Show how to merge classes passed as props when children have existing classes #7268
Labels
add new content
Document something that is not in docs. May require testing, confirmation, or affect other pages.
📚 Subject area/topic
Component classes
📋 Suggested page
https://docs.astro.build/en/guides/styling/#passing-a-class-to-a-child-component
📋 General description or bullet points (if proposing new content)
Currently, the docs do not show what to do when you pass a class to a child component while the component already has its classes. How would you merge the class passed as a prop with the existing classes in a child component?
🖥️ Reproduction of code samples in StackBlitz
No response
The text was updated successfully, but these errors were encountered: