mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-05 09:40:02 +00:00
add 4 props
accessibility?: boolean nextArrow?: HTMLElement | any prevArrow?: HTMLElement | any pauseOnHover?: boolean
This commit is contained in:
4
react-slick/index.d.ts
vendored
4
react-slick/index.d.ts
vendored
@@ -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
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user