fix: Fix fallback prop not working. (#420)

This commit is contained in:
Dylan Vann 2019-02-25 01:33:21 -05:00 committed by GitHub
parent 52d1d8b58b
commit 487d41040d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ exports[`Renders Image with fallback prop. 1`] = `
] ]
} }
> >
<FastImageView <Image
resizeMode="cover" resizeMode="cover"
source={ source={
Object { Object {

View File

@ -40,7 +40,7 @@ class FastImage extends Component {
style={[styles.imageContainer, style]} style={[styles.imageContainer, style]}
ref={this.captureRef} ref={this.captureRef}
> >
<FastImageView <Image
{...props} {...props}
style={StyleSheet.absoluteFill} style={StyleSheet.absoluteFill}
source={resolvedSource} source={resolvedSource}