Skip to content

Commit

Permalink
fix: Fix fallback prop not working. (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanVann authored Feb 25, 2019
1 parent 52d1d8b commit 487d410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ exports[`Renders Image with fallback prop. 1`] = `
]
}
>
<FastImageView
<Image
resizeMode="cover"
source={
Object {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class FastImage extends Component {
style={[styles.imageContainer, style]}
ref={this.captureRef}
>
<FastImageView
<Image
{...props}
style={StyleSheet.absoluteFill}
source={resolvedSource}
Expand Down

0 comments on commit 487d410

Please sign in to comment.