Skip to content

Commit c3df67f

Browse files
committed
Example is updated
1 parent f4f2297 commit c3df67f

2 files changed

Lines changed: 19 additions & 4 deletions

File tree

example/App.js

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,35 @@ const App = () => {
1818
<SafeAreaView>
1919
<View
2020
style={{
21-
top: "30%",
21+
top: 32,
2222
alignItems: "center",
2323
justifyContent: "center"
2424
}}
2525
>
26-
<ImagedCarouselCard />
2726
<ImagedCarouselCard
2827
height={200}
2928
width={200}
3029
shadowColor="#051934"
3130
source={{
3231
uri:
33-
"https://images.unsplash.com/photo-1503891450247-ee5f8ec46dc3?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=634&q=80"
32+
"https://images.unsplash.com/photo-1501594907352-04cda38ebc29?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1189&q=80"
3433
}}
3534
/>
35+
<View style={{ marginTop: 32 }}>
36+
<ImagedCarouselCard />
37+
</View>
38+
39+
<View style={{ marginTop: 32 }}>
40+
<ImagedCarouselCard
41+
height={200}
42+
width={200}
43+
shadowColor="#051934"
44+
source={{
45+
uri:
46+
"https://images.unsplash.com/photo-1503891450247-ee5f8ec46dc3?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=634&q=80"
47+
}}
48+
/>
49+
</View>
3650
</View>
3751
</SafeAreaView>
3852
</>

example/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
},
1212
"dependencies": {
1313
"react": "16.9.0",
14-
"react-native": "0.61.5"
14+
"react-native": "0.61.5",
15+
"react-native-imaged-carousel-card": "^0.1.0"
1516
},
1617
"devDependencies": {
1718
"@babel/core": "^7.6.2",

0 commit comments

Comments
 (0)