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

Move to react-icons v3 #1537

Closed
codercatdev opened this issue Oct 10, 2019 · 2 comments
Closed

Move to react-icons v3 #1537

codercatdev opened this issue Oct 10, 2019 · 2 comments

Comments

@codercatdev
Copy link
Contributor

Is your feature request related to a problem? Please describe.

It is difficult to use icons that are on a new version.
Example: https://react-icons.netlify.com/#/icons/io

I would like to use things like FaHighlighter which are not offered in the older version of react-icons.

Describe the solution you'd like

Implement package react-icons@3.7.0 @sanity/base

Describe alternatives you've considered

I have tried adding them manually in my project, but I then have to override everything.

Additional context

image

@Grsmto
Copy link

Grsmto commented Jul 18, 2020

They should rather move away from react-icons or somehow update Webpack, cause of this issue, react-icons causes Sanity Studio js bundle to be more 4mb.
I guess this probably slows down massively the initial loading of the Studio on mobile devices.

@rexxars
Copy link
Member

rexxars commented Nov 19, 2021

In version v2.0.1 and later we no longer bundle react-icons as part of the studio, and you're free to use any version of this library (or other icon libraries) you want: https://github.com/sanity-io/sanity/releases/tag/v2.0.1

@rexxars rexxars closed this as completed Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants