
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
react-native-image-placeholder
Advanced tools
React-native >= 0.46.x
Fixed render inside component
npm i --save react-native-image-placeholder
Please file an issue if you have any trouble!
import ImageLoad from 'react-native-image-placeholder';
....
<ImageLoad
style={{ width: 320, height: 250 }}
loadingStyle={{ size: 'large', color: 'blue' }}
source={{ uri: 'https://4.bp.blogspot.com/-lYq2CzKT12k/VVR_atacIWI/AAAAAAABiwk/ZDXJa9dhUh8/s0/Convict_Lake_Autumn_View_uhd.jpg' }}
/>
Supports all Image properties.
Option | Default | Info |
---|---|---|
placeholderSource | require('./Images/empty-image.png') | Show placeholderSource if the source can't be loaded or error. |
loadingStyle | size: 'small'; color: 'gray' | Style ActivityIndicator |
isShowActivity | true | Show ActivityIndicator loading |
placeholderStyle | Style placeholder image | |
customImagePlaceholderDefaultStyle | Custom style image placeholder default | |
borderRadius | Border radius |
ISC
FAQs
react native image placeholder
The npm package react-native-image-placeholder receives a total of 645 weekly downloads. As such, react-native-image-placeholder popularity was classified as not popular.
We found that react-native-image-placeholder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.