From fec5c136ea534d493967567fa2688a1c79d1d61b Mon Sep 17 00:00:00 2001 From: Dhwaj Kothari Date: Tue, 16 Mar 2021 22:46:42 +0530 Subject: [PATCH] Update Carousel.js typing error correct --- component/Carousel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/Carousel.js b/component/Carousel.js index 02476cd..5b57496 100644 --- a/component/Carousel.js +++ b/component/Carousel.js @@ -3,7 +3,7 @@ import { View, Text, StyleSheet, Dimensions, FlatList, Animated } from 'react-na import CarouselItem from './CarouselItem' -const { width, heigth } = Dimensions.get('window') +const { width, height } = Dimensions.get('window') let flatList function infiniteScroll(dataList){