diff --git a/__snapshots__/FastImage.test.js.snap b/__snapshots__/FastImage.test.js.snap index 0e91b52..f981ea7 100644 --- a/__snapshots__/FastImage.test.js.snap +++ b/__snapshots__/FastImage.test.js.snap @@ -17,5 +17,6 @@ exports[`FastImage renders correctly. 1`] = ` "uri": "https://facebook.github.io/react/img/logo_og.png", } } + style={undefined} /> `; diff --git a/example/fastImage/ImageGrid.js b/example/fastImage/ImageGrid.js index af0806b..98bc5c8 100644 --- a/example/fastImage/ImageGrid.js +++ b/example/fastImage/ImageGrid.js @@ -1,5 +1,5 @@ import React, { Component } from 'react' -import { FlatList, StyleSheet, Text, View, } from 'react-native' +import { FlatList, StyleSheet, Text, View } from 'react-native' import StatusBarUnderlay, { STATUS_BAR_HEIGHT } from './StatusBarUnderlay' const getImageUrl = (id, width, height) => diff --git a/example/fastImage/StatusBarUnderlay.js b/example/fastImage/StatusBarUnderlay.js index 02035a0..c94ba9e 100644 --- a/example/fastImage/StatusBarUnderlay.js +++ b/example/fastImage/StatusBarUnderlay.js @@ -1,7 +1,8 @@ import React from 'react' import { Platform, StatusBar, StyleSheet, View } from 'react-native' -export const STATUS_BAR_HEIGHT = Platform.OS === 'ios' ? 20 : StatusBar.currentHeight +export const STATUS_BAR_HEIGHT = + Platform.OS === 'ios' ? 20 : StatusBar.currentHeight export default () => @@ -14,4 +15,4 @@ const styles = StyleSheet.create({ height: STATUS_BAR_HEIGHT, backgroundColor: 'white', }, -}) \ No newline at end of file +})