New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-image-placeholder

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-image-placeholder - npm Package Compare versions

Comparing version

to
1.0.14

8

index.js

@@ -36,3 +36,3 @@ import React from 'react';

const {
style, source, resizeMode, borderRadius, children,
style, source, resizeMode, borderRadius, backgroundColor, children,
loadingStyle, placeholderSource, placeholderStyle,

@@ -52,5 +52,7 @@ customImagePlaceholderDefaultStyle

(this.state.isLoaded && !this.state.isError) ? children :
<View style={[styles.viewImageStyles, { borderRadius: borderRadius }]}>
<View
style={[styles.viewImageStyles, { borderRadius: borderRadius }, backgroundColor ? { backgroundColor: backgroundColor } : {}]}
>
{
this.props.isShowActivity &&
(this.props.isShowActivity && !this.state.isError) &&
<ActivityIndicator

@@ -57,0 +59,0 @@ style={styles.activityIndicator}

{
"name": "react-native-image-placeholder",
"version": "1.0.13",
"version": "1.0.14",
"description": "react native image placeholder",

@@ -5,0 +5,0 @@ "main": "index.js",