fix: Fix fallback prop not working. (#420)
This commit is contained in:
parent
52d1d8b58b
commit
487d41040d
|
@ -52,7 +52,7 @@ exports[`Renders Image with fallback prop. 1`] = `
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
<FastImageView
|
<Image
|
||||||
resizeMode="cover"
|
resizeMode="cover"
|
||||||
source={
|
source={
|
||||||
Object {
|
Object {
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue