This repository has been archived by the owner on Mar 21, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 20
Disable suffix by default #5
Comments
What is your exact problem? Even if a non configurable css class is added, you have option to add some others. |
My problem is if you are using this module you can't suffix your tokenized classes to have eg. /* Source */
.icon .icon-svg { ... }
/* Results in */
._3qOz7o9UPD9GOtDjAK .KhXtXYu-YdxXx5mi8K-RT { ... } So all my components look like this: <SVGInline svg={icon} classSuffix="" /> |
Feel free to make a PR to provides another class name instead of the suffix. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If you use this component with postcss-local-modules-by-default it clashes with this suffix, I'm not sure as to the reason why this component has this enabled by default. Seems like something you would let the user configure optionally.
The text was updated successfully, but these errors were encountered: