Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

react-slidin

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-slidin

React image slider

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

react-slidin

React image slider

NPM JavaScript Style Guide

Install

npm install --save react-slidin

Usage

import React, { Component } from 'react'

import ReactSlidin from 'react-slidin'

class Example extends Component {
  render () {

    var settings = {
      arrows: true,
      autoPlay: true,
      dots: true,
      infinite: true,
      speed: 5000, //ms-> 1000ms=1s
      slidesToShow: 4,
      slidesToScroll: 4,
    };
    
    return (
      <ReactSlidin {...settings}>
        <div className="">
          <img src="/assets/img/img1.jpg" />
        </div>
        <div className="">
          <img src="/assets/img/img2.jpg" />
        </div>
        <div className="">
          <img src="/assets/img/img3.jpg" />
        </div>
        <div className="">
          <img src="/assets/img/img4.jpg" /> 
        </div>
      </ReactSlidin>
    )
  }
}

License

MIT © jessicaFM

FAQs

Package last updated on 28 Sep 2018

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