Skip to content

Conversation

@eoingroat
Copy link

…or as well as, parent styles

The drive for this is in using https://github.com/Y-Sree-Chaitanya/wrap-css-loader to prevent imports from polluting global CSS. This broke when using certain antd components because the class was assumed to be a sibling, to fix this I have introduced the notion of "wrapping with siblings".

@rexblack
Copy link
Member

Many thanks for your PR. This definitely makes sense. Presumably i'm going to find some time to check and merge it by tomorrow night. Do you have a concrete (tiny, pseudo) example of integrating css-wrap for building an antd-based application? Being well experienced with react, i'm not yet familiar with antd library and would be very interested in having a look at that use-case. For now, thx and cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants