Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
react-native-turbo-image
Advanced tools
Performant React Native image component. Powered by Nuke and Coil
npm install react-native-turbo-image
import TurboImage from "react-native-turbo-image";
// ...
<TurboImage
url={url}
style={styles.box}
showActivityIndicator
cachePolicy="dataCache"
blurhash="LMDSzI~pV=RO9ZV@xv%MRPRlxuog"
/>
Prop | Type | Default | Description |
---|---|---|---|
url | string | The URL of the image | |
style | object | The style of the image | |
resizeMode | string | contain | The resize mode of the image |
showActivityIndicator | boolean | false | Whether to show the UIActivityIndicatorView indicator when loading |
base64Placeholder | string | The base64 encoded placeholder image to show while loading | |
blurhash | string | The blurhash of the image to show while loading | |
cachePolicy | string | memory | The cache policy of the image |
fadeDuration | number | 0.5 | The transition duration of the image |
rounded | boolean | false | Round the image into a circle |
tintColor | string | tint color | |
onError | function | The function to call when an error occurs. | |
onSucess | function | The function to call when the image is successfully loaded |
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
FAQs
Performant image for React native
We found that react-native-turbo-image demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.