mirror of
https://github.com/status-im/react-native-fast-image.git
synced 2025-02-23 19:58:15 +00:00
Update snapshot.
This commit is contained in:
parent
39af5768b5
commit
5cff979757
@ -1,29 +1,46 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`FastImage renders correctly. 1`] = `
|
||||
<FastImageView
|
||||
onFastImageError={undefined}
|
||||
onFastImageLoad={undefined}
|
||||
onFastImageLoadEnd={undefined}
|
||||
onFastImageLoadStart={undefined}
|
||||
onFastImageProgress={undefined}
|
||||
resizeMode="cover"
|
||||
source={
|
||||
Object {
|
||||
"headers": Object {
|
||||
"token": "someToken",
|
||||
},
|
||||
"priority": "high",
|
||||
"uri": "https://facebook.github.io/react/img/logo_og.png",
|
||||
}
|
||||
}
|
||||
<View
|
||||
style={
|
||||
Object {
|
||||
"height": 44,
|
||||
"width": 44,
|
||||
}
|
||||
Array [
|
||||
Object {
|
||||
"height": 44,
|
||||
"width": 44,
|
||||
},
|
||||
Object {
|
||||
"overflow": "hidden",
|
||||
},
|
||||
]
|
||||
}
|
||||
/>
|
||||
>
|
||||
<FastImageView
|
||||
onFastImageError={undefined}
|
||||
onFastImageLoad={undefined}
|
||||
onFastImageLoadEnd={undefined}
|
||||
onFastImageLoadStart={undefined}
|
||||
onFastImageProgress={undefined}
|
||||
resizeMode="cover"
|
||||
source={
|
||||
Object {
|
||||
"headers": Object {
|
||||
"token": "someToken",
|
||||
},
|
||||
"priority": "high",
|
||||
"uri": "https://facebook.github.io/react/img/logo_og.png",
|
||||
}
|
||||
}
|
||||
style={
|
||||
Object {
|
||||
"bottom": 0,
|
||||
"left": 0,
|
||||
"position": "absolute",
|
||||
"right": 0,
|
||||
"top": 0,
|
||||
}
|
||||
}
|
||||
/>
|
||||
</View>
|
||||
`;
|
||||
|
||||
exports[`Renders a normal Image when not passed a uri. 1`] = `
|
||||
|
Loading…
x
Reference in New Issue
Block a user