We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I created a wrapper component:
import React from 'react'; import { createImageProgress } from 'react-native-image-progress'; import ProgressBar from 'react-native-progress/Bar'; import FastImage from 'react-native-fast-image'; const Image = createImageProgress(FastImage); const ImageWithProgress = (props) => { return <Image indicator={ProgressBar} style={props.style} {...props} />; }; export default ImageWithProgress;
The issue is that style is not applied even when specified, for example here the bordrRadius is ignored, while it works correctly with FastImage
<ImageWithProgress source={image} style={{ height: '100%', width: '100%', resizeMode: 'cover', borderRadius: 20, }} />
The text was updated successfully, but these errors were encountered:
You can using imageStyle: imageStyle = {{ borderRadius: 8, }}
Sorry, something went wrong.
No branches or pull requests
I created a wrapper component:
The issue is that style is not applied even when specified, for example here the bordrRadius is ignored, while it works correctly with FastImage
The text was updated successfully, but these errors were encountered: