redshop의 이미지 캐러셀 정보
redshop의 이미지 캐러셀
본문
https://github.com/kfbow/simple-carousel-react-native 나온지 몇일 안된 것을 사용해 봤습니다.
코드가 그냥 이해하기 편한것으로..
가운데 dot도 센터에 맞지는 않지만..

import Carousel from 'simple-carousel-react-native'; 
 
        <Carousel
          color='red'
          height = {150}
          width = {400}
        >
          <View>
            <ResponsiveImage source={require('./images/1.jpg')} initWidth="400" initHeight="150"/>
          </View>
          <View>
            <ResponsiveImage source={require('./images/2.jpg')} initWidth="400" initHeight="150"/>
          </View>
          <View><Text>Page 3</Text></View>
        </Carousel>
!-->
                        
                공감
                
0
                
    0
 
 
댓글 0개