react-easy-slider
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Introduction

This is a React component by which you can realize an image slider quickly.
Demo: https://swnumaster.github.io/react-easy-slider/
Author: Nathan Jiang (373578963@qq.com)

Installation

npm install react-easy-slider

Usage

import React from 'react';
import { render } from 'react-dom';
import ReactEasySlider from 'react-easy-slider';

let imageList = [
    {url: "https://www.fb.com/slide1.jpg"},
    {url: "https://www.fb.com/slide2.jpg"},
    {url: "https://www.fb.com/slide3.jpg"}
];

const MyComponent = () => (
    <ReactEasySlider imageList={imageList} />
);

render(<MyComponent />, document.getElementById(node));

Change log

v1.0.5

    change webpack4 to webpack5 and remove url-loader, file-loader, svg-url-loader
    upgrade other packages for development

v1.0.4      

    ignore unecessary files

v1.0.3      

    modify README.md and add README-for-developers.md

/react-easy-slider/

    Package Sidebar

    Install

    npm i react-easy-slider

    Weekly Downloads

    7

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    46.6 kB

    Total Files

    19

    Last publish

    Collaborators

    • swnumaster