Socket
Book a DemoInstallSign in
Socket

react-cards-stack

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-cards-stack

A react component for creating cards stack.

1.1.1
latest
Source
npmnpm
Version published
Weekly downloads
19
111.11%
Maintainers
1
Weekly downloads
 
Created
Source

react-cards-stack

A react component for creating cards stack for a quiz.

ScreenShot

Note : Screenshot source http://wordbook.imabhi.in

#Installation

npm install react-cards-stack --save

#Usage

import Reactcardstack from 'react-cards-stack'

class Yourcomponent extends React.Component {
  render(){
    return (
      <Reactcardstack images={<Pass your images array here>} />
    )
  }

 export Yourcomponent;

#Props

  • images : An array of images for e.g. ['imgurl1', 'imgurl2']
  • imgclass : "String" - CSS
  • postivebtnlabel : "String" | default - Yes
  • negativebtnlabel : "String" | default - No
  • onstackendfn : "Function" | Will be called on Stack End | Note : Will only works if 'infinite' is set 'false'
  • postivebtnclass : "String" - CSS
  • negativebtnclass : "String" - CSS
  • query : "String" - For specifying message
  • queryclass : "String" - CSS
  • effect : "String" | default - krisna | Effect Ref: https://tympanus.net/Development/CardStackEffects/
  • infinite : "Boolean" | default - false | Note : If 'infinite' is 'true' then onstackendfn won't be invoke.

#Upcoming Features

  • Animations delay and duration control
  • 'onstackendfn' will get object of +ve & -ve response count.

#Feature Request

Drop a mail on abhisharjangir@ymail.com for any new feature request.

Keywords

react cards

FAQs

Package last updated on 25 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.