Skip to content

Commit 487d410

Browse files
authored
fix: Fix fallback prop not working. (DylanVann#420)
1 parent 52d1d8b commit 487d410

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/__snapshots__/index.test.js.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ exports[`Renders Image with fallback prop. 1`] = `
5252
]
5353
}
5454
>
55-
<FastImageView
55+
<Image
5656
resizeMode="cover"
5757
source={
5858
Object {

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class FastImage extends Component {
4040
style={[styles.imageContainer, style]}
4141
ref={this.captureRef}
4242
>
43-
<FastImageView
43+
<Image
4444
{...props}
4545
style={StyleSheet.absoluteFill}
4646
source={resolvedSource}

0 commit comments

Comments
 (0)