how to use html slick slider in react code example
Example: 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
);
}
}