parent
b18728db84
commit
b8c82c7d5e
|
@ -5,11 +5,11 @@ exports[`FastImage renders correctly. 1`] = `
|
|||
style={
|
||||
Array [
|
||||
Object {
|
||||
"height": 44,
|
||||
"width": 44,
|
||||
"overflow": "hidden",
|
||||
},
|
||||
Object {
|
||||
"overflow": "hidden",
|
||||
"height": 44,
|
||||
"width": 44,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
@ -43,11 +43,11 @@ exports[`Renders a normal Image when not passed a uri. 1`] = `
|
|||
style={
|
||||
Array [
|
||||
Object {
|
||||
"height": 44,
|
||||
"width": 44,
|
||||
"overflow": "hidden",
|
||||
},
|
||||
Object {
|
||||
"overflow": "hidden",
|
||||
"height": 44,
|
||||
"width": 44,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
|
|
@ -39,7 +39,7 @@ class FastImage extends Component {
|
|||
if (fallback) {
|
||||
return (
|
||||
<View
|
||||
style={[style, styles.imageContainer]}
|
||||
style={[styles.imageContainer, style]}
|
||||
ref={this.captureRef}
|
||||
>
|
||||
<FastImageView
|
||||
|
@ -58,7 +58,7 @@ class FastImage extends Component {
|
|||
}
|
||||
|
||||
return (
|
||||
<View style={[style, styles.imageContainer]} ref={this.captureRef}>
|
||||
<View style={[styles.imageContainer, style]} ref={this.captureRef}>
|
||||
<FastImageView
|
||||
{...props}
|
||||
style={StyleSheet.absoluteFill}
|
||||
|
|
Loading…
Reference in New Issue