0.1.1 • Published 4 years ago

react-native-imaged-carousel-card v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Battle Tested ✅

Fully customizable & Lovely Imaged Carousel Card for React Native

npm version npm Platform - Android and iOS License: MIT styled with prettier

Installation

Add the dependency:

npm i react-native-imaged-carousel-card

Peer Dependencies

Zero Dependency

Usage

Import

import ImagedCarouselCard from "react-native-imaged-carousel-card";

Basic Usage

<ImagedCarouselCard />

Advanced Usage

<ImagedCarouselCard
  width={200}
  height={200}
  shadowColor="#051934"
  source={{
    uri: "",
  }}
/>

Configuration - Props

PropertyTypeDefaultDescription
textstringCalifornia Festive 2020change the text
widthnumber/string300change the main card's width
heightnumber/string300change the main card's height
sourceassetdefaultchange the main card's background source
borderRadiusnumber16change the main card's border radius
textStylestyledefaultset your own text style
shadowColorcolor#000change the shadow color
shadowStylestyledefaultset your own shadow style
overlayHeightnumber50change the black overlay's height
overlayBackgroundColorcolorrgba(0,0,0,0.3)change the black overlay's background color
overlayBorderBottomLeftRadiusnumber16change the black overlay's border bottom left radius
overlayBorderBottomRightRadiusnumber16change the black overlay's border bottom right radius
shadowPaddingBottomnumber18This is a need for shadow but you can change it

Future Plans

  • LICENSE
  • Typescript Challenge!
  • Write an article about the lib on Medium

Author

FreakyCoder, kurayogun@gmail.com

License

React Native Imaged Carousel Card is available under the MIT license. See the LICENSE file for more info.