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 (