Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added react/svg module for creading svg icon in icon component #213

Closed
wants to merge 2 commits into from

Conversation

anilvermaspeaks
Copy link

package added for svg is - react-svg

@@ -137,6 +137,7 @@
"react-app-polyfill": "^1.0.4",
"react-dom": "^16.10.0",
"react-modal": "^3.6.1",
"react-svg": "^11.0.15",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anilcs240 This package is ok 250KB size and it gets used at run time. The solution we needed was something that works on build time and converts SVG to JS files without adding anything extra to bundle size.

@vinodloha vinodloha closed this Mar 31, 2020
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.

None yet

3 participants