add 4 props

accessibility?: boolean
  nextArrow?: HTMLElement | any
  prevArrow?: HTMLElement | any
  pauseOnHover?: boolean
This commit is contained in:
bglee
2017-02-01 13:44:48 +09:00
parent 9c270c9d29
commit 96996eebbd
2 changed files with 6 additions and 1 deletions

View File

@@ -6,6 +6,10 @@
/// <reference types="react"/>
interface __config {
accessibility?: boolean
nextArrow?: HTMLElement | any
prevArrow?: HTMLElement | any
pauseOnHover?: boolean
className?: string
adaptiveHeight?: boolean
arrows?: boolean

View File

@@ -10,7 +10,8 @@ class SliderTest extends React.Component<React.Props<{}>, {}> {
slidesToShow: 8,
slidesToScroll: 1,
draggable: false,
infinite: false
infinite: false,
prevArrow: <a href="#">link</a>
};
return (