Added missing value to to types that supported in the documentation (#35172)

See: https://react-slick.neostack.com/docs/example/vertical-mode
This commit is contained in:
Shannor Trotty
2019-05-03 03:04:05 -07:00
committed by Wesley Wigham
parent 38c7557389
commit 5ef49340ec
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -3,6 +3,7 @@
// Definitions by: Andrey Balokha <https://github.com/andrewBalekha>
// Giedrius Grabauskas <https://github.com/GiedriusGrabauskas>
// Andrew Makarov <https://github.com/r3nya>
// Shannor Trotty <https://github.com/Shannor>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
@@ -81,6 +82,7 @@ export interface Settings {
useTransform?: boolean;
variableWidth?: boolean;
vertical?: boolean;
verticalSwiping?: boolean;
waitForAnimate?: boolean;
}
+1
View File
@@ -55,6 +55,7 @@ const defaultSettings: Settings = {
useCSS: true,
variableWidth: false,
vertical: false,
verticalSwiping: false,
waitForAnimate: true,
afterChange: (currentSlide: number) => { },
beforeChange: (currentSlide: number, nextSlide: number) => { },