Skip to content

fosco/react-simple-slideshow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-image-slider

A simple and easy-to-use image slider

Install

Install the component using yarn

$ yarn add react-simple-slideshow

or npm

$ npm install react-simple-slideshow --save

Usage

  1. Import the Slider component
import Slider from 'react-simple-slideshow';
  1. Put your images inside it
<Slider>
    <img src="http://path/to/your/images/0" />
    <img src="http://path/to/your/images/1" />
    <img src="http://path/to/your/images/2" />
</Slider>

Props

You can specify height and width attributes for the Slider component.

<Slider width="500px" height="300px">
    ...
</Slider>

New props and customizations coming soon!

About

A simple and easy-to-use image slideshow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published