-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
All components should take an additional className to be injected into their root component.
Question: Using CSS modules, how do we ensure that the parent component's style overrides the child?
Is the only alternative for the component to take presentational props? If so, maybe a className implementation is missing the point
The composes ... from keyword can be used to combine styles if necessary. See https://developer.adobe.com/commerce/pwa-studio/guides/general-concepts/css-modules/#creating-and-composing-css-modules
Reactions are currently unavailable