import '../assets/index.less'; import Slider from '../src/slider'; export default { render() { const settings = { props: { infinite: true, centerPadding: '60px', slidesToShow: 5, swipeToSlide: true, afterChange: function(index) { console.log(`Slider Changed to: ${index + 1}, background: #222; color: #bada55`); }, }, class: 'center', }; return (

Swipe To Slide

1

2

3

4

5

6

7

8

9

); }, };