Skip to content

zero-HYQ/react-native-double-gallery-carousel

Repository files navigation

react-native-double-gallery-carousel

react-native-double-gallery-carousel is available for android and ios as well as the web

Example

Example

Installation

npm install react-native-double-gallery-carousel

yarn add react-native-double-gallery-carousel

Usage

import { CarouselList } from 'react-native-double-gallery-carousel';

<CarouselList
  data={[]}
  style={{}}
  width={Dimensions.get('screen').width}
  height={Dimensions.get('screen').height}
/>;

Properties

Prop required Type Description
data yes ImageSourcePropType[] data source
style no ViewStyle container style
width yes number container image width It is recommended that the width be the same as the container style width
height yes number container image height It is recommended that the height be the same as the container style height
isShowMinorList no boolean Hide the bottom carousel

Example code

You can see the example code and demo.

Clone the repository

git clone https://github.com/zero-HYQ/react-native-double-gallery-carousel.git

Install libraries

yarn

Execute the example project.

# Example folder
# iOS
yarn example ios
# Android
yarn example android
# Web
yarn example web

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published