New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-carousel-package

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-carousel-package

[![GitHub issues](https://img.shields.io/github/issues/nabaraj/react-carousel-package)](https://github.com/nabaraj/react-carousel-package/issues)[![GitHub forks](https://img.shields.io/github/forks/nabaraj/react-carousel-package)](https://github.com/nabar

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

GitHub issuesGitHub forksGitHub starsGitHub license

Install React Carousel Component by

npm i react-carousel-package

Then add carousel like below example.

<Carousel autoScroll={false} showArrowBg={true} sliderType="grid">
        <img src="https://via.placeholder.com/300X400&text=slide1" alt="" />
        <img src="https://via.placeholder.com/300X400&text=slide2" alt="" />
        <img src="https://via.placeholder.com/300X400&text=slide3" alt="" />
        <img src="https://via.placeholder.com/300X400&text=slide4" alt="" />
</Carousel>

This carousel currently have two view options “fullScreen” and “grid”

There are some options to control display and functionality from parent components as props they are :

autoScroll={false} (enable disable autoscroll)
showArrowBg={true} enable arrowbox (may be this option we can replace)
sliderType=”grid” (type of slide fullscreen or grid to control the slider)
classes=”” To add class

Full carousel component can be forked from this git Link

Keywords

reactJs

FAQs

Package last updated on 12 Aug 2019

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