react with react slick code example
Example 1: slick slider react
import React, { Component } from "react";
import Slider from "react-slick";
export default class SimpleSlider extends Component {
render() {
const settings = {
dots: true,
infinite: true,
speed: 500,
slidesToShow: 2,
slidesToScroll: 1
};
return (
Single Item
1
2
3
4
5
6
);
}
}
Example 2: react slick
yarn add react-slick