GithubHelp home page GithubHelp logo

anastely / react-native-imaged-carousel-card Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wrathchaos/react-native-imaged-carousel-card

1.0 0.0 0.0 1.61 MB

Fully customizable & Lovely Imaged Carousel Card for React Native

Home Page: https://freakycoder.com

License: MIT License

JavaScript 36.69% Starlark 3.76% Java 16.32% Ruby 17.26% Objective-C 25.97%

react-native-imaged-carousel-card's Introduction

React Native Imaged Carousel Card

Battle Tested โœ…

Fully customizable & Lovely Imaged Carousel Card for React Native

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

React Native Imaged Carousel Card React Native Imaged Carousel Card

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

Property Type Default Description
text string California Festive 2020 change the text
width number/string 300 change the main card's width
height number/string 300 change the main card's height
source asset default change the main card's background source
borderRadius number 16 change the main card's border radius
textStyle style default set your own text style
shadowColor color #000 change the shadow color
shadowStyle style default set your own shadow style
overlayHeight number 50 change the black overlay's height
overlayBackgroundColor color rgba(0,0,0,0.3) change the black overlay's background color
overlayBorderBottomLeftRadius number 16 change the black overlay's border bottom left radius
overlayBorderBottomRightRadius number 16 change the black overlay's border bottom right radius
shadowPaddingBottom number 18 This 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, [email protected]

License

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.