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

Wrong information mentioned in description of react-native's Image components source prop. #4165

Open
akash13625 opened this issue Jul 19, 2024 · 1 comment

Comments

@akash13625
Copy link

According to react native's documentation of Image component's source props, the supported props are
The currently supported formats are png, jpg, jpeg, bmp, gif, webp, psd (iOS only)
However, when trying to use webp images, present in xcode assets catalogue, it does not work. Also, it is mentioned in react-native code repo inside Image.d.ts that webp is only supported in android. However, webp works when bundled with JS in ios.
Please sync both the documentation and provide which information is correct.

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
@akash13625 and others