react-native-image-placeholder icon indicating copy to clipboard operation
react-native-image-placeholder copied to clipboard

Placeholder support for local image

Open fpena opened this issue 7 years ago • 4 comments

It'd be cool to pass a local image, instead of remote one to show the placeholder.

fpena avatar Nov 22 '17 21:11 fpena

Thank you we are going to add support for this on the next version. @fpena

mitogh avatar Nov 22 '17 21:11 mitogh

Great, thanks!

fpena avatar Nov 22 '17 21:11 fpena

Is it done? How can we add local image as placeholder?

bbeckk avatar Jul 10 '18 12:07 bbeckk

You can pass local image by changing this pice of code:_renderPlaceholder() { return ( <Animated.View style={this._getPlaceholderStyles()}> <Image style={[styles.placeholder, this.props.placeholderStyle]} source={this.props.placeholder} /> {this._renderActivityIndicator()} </Animated.View> ); }

PayorVladimir avatar May 24 '20 14:05 PayorVladimir