-
-
Save catalinmiron/5202e842fc4727e73b411198f95a3adc to your computer and use it in GitHub Desktop.
Zara carousel starter code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react'; | |
import { Image, FlatList, View, StatusBar, Dimensions, StyleSheet } from 'react-native'; | |
const {width, height} = Dimensions.get('screen'); | |
const ITEM_WIDTH = width; | |
const ITEM_HEIGHT = height * .75; | |
const images = [ | |
'https://static.zara.net/photos///2020/I/1/1/p/6543/610/091/2/w/2460/6543610091_1_1_1.jpg?ts=1606727905128', | |
'https://static.zara.net/photos///2020/I/1/1/p/6543/610/091/2/w/2460/6543610091_2_1_1.jpg?ts=1606727908993', | |
'https://static.zara.net/photos///2020/I/1/1/p/6543/610/091/2/w/2460/6543610091_2_2_1.jpg?ts=1606727889015', | |
'https://static.zara.net/photos///2020/I/1/1/p/6543/610/091/2/w/2460/6543610091_2_3_1.jpg?ts=1606727896369', | |
'https://static.zara.net/photos///2020/I/1/1/p/6543/610/091/2/w/2460/6543610091_2_4_1.jpg?ts=1606727898445', | |
]; | |
const product = { | |
title: 'SOFT MINI CROSSBODY BAG WITH KISS LOCK', | |
description: [ | |
'Mini crossbody bag available in various colours. Featuring two compartments. Handles and detachable crossbody shoulder strap. Lined interior. Clasp with two metal pieces.', | |
'Height x Length x Width: 14 x 21.5 x 4.5 cm. / 5.5 x 8.4 x 1.7"' | |
], | |
price: '29.99£' | |
} | |
export default () => { | |
return <View> | |
<StatusBar hidden/> | |
</View> | |
} | |
const styles = StyleSheet.create({ | |
}) |
Amazing Thanks
Awesome Tutuorial
ya3dek dee l git bl flous
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you very much