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

[Question] Why does this project use react-native-svg instead of using font via Text component? #149

Open
sesm opened this issue Nov 2, 2022 · 1 comment

Comments

@sesm
Copy link

sesm commented Nov 2, 2022

Font Awesome icons are used in web via importing a font. In theory, the same can done in react-native (see https://github.com/oblador/react-native-vector-icons).

But this implementation uses SVG via react-native-svg to render the icons from the very start.

I'm sure there are reasons to do this. Are there some usecases where SVG gives more control/flexebility/etc? Or maybe there are some issues with font rendering on iOS/Android? Could you please share this with the community?

@bastienJanon
Copy link

react-native-svg causes bug on my react-native-web project

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

No branches or pull requests

2 participants