Overiding styles from external props:. (CSS Modules, React, LESS)
I have issue with overriding styles from external components in React.
I have for example basic component badge which has own less styles but sometimes I need apply some styles from external component (see below).
I have this approach in whole project (lot of components) and I´am trying find solution for this bcs sometimes it works properly sometimes not. I know that problem with priority of css. I know that I can add “.badgeItem.badgeItem ” in external component but as I said it is in whole project and find any solution which solve this issue (mby any style-loader or something).