Skip to content

Commit 861bcb8

Browse files
committed
update images styles
1 parent 82ac2d4 commit 861bcb8

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

example/App.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export default class App extends Component {
3838
render() {
3939
return (
4040
<View style={styles.container}>
41-
<MyFirebaseImageView />
42-
<MyFirebasePhotoView />
41+
<MyFirebaseImageView style={styles.image} />
42+
<MyFirebasePhotoView style={styles.image} />
4343
</View>
4444
)
4545
}
@@ -50,6 +50,9 @@ const styles = StyleSheet.create({
5050
flex: 1,
5151
justifyContent: 'center',
5252
alignItems: 'center',
53-
backgroundColor: '#F5FCFF',
54-
},
53+
},
54+
image: {
55+
width: 100,
56+
height: 100
57+
}
5558
});

0 commit comments

Comments
 (0)