-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Please update examples to use proper Svg import #2023
Comments
Hello @Romick2005, If you still have any problems feel free to open a new issue. |
So what is the recommended way to import Svg component properly? What would you recommend @bohdanprog? |
@Romick2005 Thanks, I understand your point. I believe you can import the SVG in whichever way you prefer. |
Agree. But we can update examples to demonstrate preferable usage which I believe is import { Svg } from "react-native-svg" |
Please replace
with
in usage examples to get rid off eslint no-named-as-default warnings/errors:
Using exported name 'Svg' as identifier for default export import/no-named-as-default
Also in PointerEventsBoxNone.tsx and Test1374.tsx
The text was updated successfully, but these errors were encountered: