Skip to content

Commit 40135fd

Browse files
authored
Update README.md
1 parent 35c0447 commit 40135fd

File tree

1 file changed

+124
-2
lines changed

1 file changed

+124
-2
lines changed

README.md

Lines changed: 124 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,124 @@
1-
# react-native-navigation-animation
2-
Transaction navigation component for react-native
1+
# React Native Navigation Animation
2+
3+
Beautiful Navigation animation with transation made with React Native.
4+
5+
Check it out on Dribbble (https://dribbble.com/shots/4115418-Home-page-interactions)
6+
7+
Read about how we made this on our blog (https://www.mindinventory.com/blog/create-tabbar-plugin-with-react-native/)
8+
9+
<img src="https://cdn.dribbble.com/users/1233499/screenshots/4115418/iphone_x6.gif" >
10+
11+
12+
13+
Android: `react-native run-android`
14+
15+
iPhone: `react-native run-ios`
16+
17+
18+
# Usage
19+
20+
render() {
21+
return (
22+
<SafeAreaView style={styles.mainContainer}>
23+
<View style={styles.navigationHeaderContainer}>
24+
<Image style={{bottom: 15, position: 'absolute', left: 15,height:20,width:20,}}
25+
source={require('/Volumes/Project/ReactProject/AnimationDemo/Images/ic_menu.png')}/>
26+
<Text style={{bottom: 15, position: 'absolute', right: 15,color: '#3842B0',}}>+ Create</Text>
27+
</View>
28+
29+
30+
<ScrollView style={styles.mainContainer}>
31+
32+
{/* Top Container ........ */}
33+
<View style={styles.topContainer}>
34+
35+
{/* User Image ........ */}
36+
<Image style={styles.userImageContainer}
37+
source={require('/Volumes/Project/ReactProject/AnimationDemo/Images/maxresdefault.jpg')}/>
38+
39+
<Text style={{marginLeft: 15, marginTop: 8, color: '#6471F4'}}>
40+
Hello,{"\n"}Dance Montgomery
41+
</Text>
42+
43+
<Text style={{
44+
marginLeft: 15,
45+
marginRight: 15,
46+
marginTop: 30,
47+
color: '#3842B0',
48+
fontSize: 40,
49+
fontWeight: 'bold'
50+
}}>
51+
What you want to cook today?
52+
</Text>
53+
54+
55+
{/* Search View Container ........ */}
56+
<View style={styles.topSearchContainer}>
57+
<Image style={{
58+
marginLeft: 5,
59+
width: scaleToDimension(40),
60+
backgroundColor: 'transparent',
61+
height: scaleToDimension(40),
62+
resizeMode: 'center'
63+
}}
64+
source={require('/Volumes/Project/ReactProject/AnimationDemo/Images/magnifying-glass-icon.png')}/>
65+
<TextInput style={{flex: 1, marginLeft: 5, marginRight: 10, color : "#3842B0"}} placeholder={'Search'} placeholderTextColor='#3842B0' />
66+
</View>
67+
68+
69+
</View>
70+
71+
{/* Bottom Container ........ */}
72+
<View style={styles.bottomContainer}>
73+
74+
{/* Tab bar View........ */}
75+
<View style={styles.bottomTabBarContainer}>
76+
<FlatList
77+
showsHorizontalScrollIndicator={false}
78+
horizontal={true}
79+
data={arrTapBar}
80+
extraData={this.state}
81+
renderItem={({item, index}) => this.renderTapBarItem(item, index)}
82+
/>
83+
</View>
84+
85+
{/* Grid View........ */}
86+
<View style={styles.bottomGridContainer}>
87+
<FlatList
88+
showsHorizontalScrollIndicator={false}
89+
onPress
90+
horizontal={true}
91+
data={arrTapBar}
92+
renderItem={({item, index}) => this.renderGridItem(item, index)}
93+
/>
94+
</View>
95+
96+
97+
</View>
98+
99+
</ScrollView>
100+
</SafeAreaView>
101+
);
102+
}
103+
104+
105+
106+
## Dependencies
107+
108+
* `react-navigation-fluid-transitions`
109+
110+
111+
# Changelog
112+
113+
### Version: 1.0
114+
115+
* Initial Build
116+
117+
118+
119+
# LICENSE!
120+
121+
React-native-tabbar-interaction is [MIT-licensed](https://github.com/Mindinventory/react-native-tabbar-interaction/blob/master/LICENSE).
122+
123+
# Let us know!
124+
We’d be really happy if you send us links to your projects where you use our component. Just send an email to sales@mindinventory.com And do let us know if you have any questions or suggestion regarding our work.

0 commit comments

Comments
 (0)