mirror of
https://github.com/status-im/react-native-fast-image.git
synced 2026-09-01 06:11:14 +00:00
chore: Update example to React Native 0.61.5. (#639)
This also upgrades all the dependencies.
This commit is contained in:
@@ -24,14 +24,7 @@ class ProgressExample extends Component {
|
||||
<Section>
|
||||
<FeatureText text="• Progress callbacks." />
|
||||
</Section>
|
||||
<SectionFlex
|
||||
onPress={onPressReload}
|
||||
style={{
|
||||
flexDirection: 'column',
|
||||
alignItems: 'center',
|
||||
paddingBottom: 20,
|
||||
}}
|
||||
>
|
||||
<SectionFlex onPress={onPressReload} style={styles.section}>
|
||||
<FastImage
|
||||
style={styles.image}
|
||||
source={{
|
||||
@@ -69,6 +62,11 @@ class ProgressExample extends Component {
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
section: {
|
||||
flexDirection: 'column',
|
||||
alignItems: 'center',
|
||||
paddingBottom: 20,
|
||||
},
|
||||
image: {
|
||||
height: 100,
|
||||
backgroundColor: '#ddd',
|
||||
|
||||
Reference in New Issue
Block a user