Package Exports
- react-easy-slider
- react-easy-slider/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-easy-slider) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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-sliderUsage
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