Skip to content

Commit

Permalink
Add example new upgrade .gif
Browse files Browse the repository at this point in the history
  • Loading branch information
Nattatorn Yucharoen committed Aug 23, 2020
1 parent b921bca commit ade5da1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ Scan QR Code and Sharing does not support ios
https://blog.expo.io/upcoming-limitations-to-ios-expo-client-8076d01aee1a

## Example
Iphone11
![Iphone11](https://github.com/nattatorn-dev/react-native-user-profile/blob/master/images/iphone11-giphy.gif)

Pixel2
![Iphone11](https://github.com/nattatorn-dev/react-native-user-profile/blob/master/images/pixel2-giphy.gif)

## Profile1
![Profile1](https://i.imgur.com/Otl1wox.jpg)

Expand Down
10 changes: 9 additions & 1 deletion components/Nav.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react'
import { StyleSheet, Text, View } from 'react-native'
import { Icon } from 'react-native-elements'
import { Platform } from 'react-native'
import PropTypes from 'prop-types'

import { Colors } from '../constants'
Expand All @@ -15,7 +16,14 @@ const styles = StyleSheet.create({
},
container: {
flexDirection: 'row',
height: 55,
...Platform.select({
ios: {
height: 55,
},
android: {
height: 80,
},
}),
justifyContent: 'center',
marginLeft: 10,
marginRight: 10,
Expand Down
Binary file added images/pixel2-giphy.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ade5da1

Please sign in to comment.