0.1.0 • Published 1 year ago

react-native-double-gallery-carousel v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-double-gallery-carousel

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

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

ProprequiredTypeDescription
datayesImageSourcePropType[]data source
stylenoViewStylecontainer style
widthyesnumbercontainer image width It is recommended that the width be the same as the container style width
heightyesnumbercontainer image height It is recommended that the height be the same as the container style height
isShowMinorListnobooleanHide 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

0.1.0

1 year ago