nuke-carousel - Adds the withoutControls prop to the nuka carousel definition file

This commit is contained in:
Alex Smith
2018-09-26 10:49:22 +01:00
parent 8063ab4a2e
commit a8a131ed12
+6 -1
View File
@@ -1,6 +1,6 @@
// Type definitions for nuka-carousel 4.2
// Project: https://github.com/FormidableLabs/nuka-carousel
// Definitions by: Roman Charugin <https://github.com/Romic>
// Definitions by: Roman Charugin <https://github.com/Romic>, Alex Smith <https://github.com/altaudio>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
@@ -222,6 +222,11 @@ export interface CarouselProps {
* @default false
*/
wrapAround?: boolean;
/**
* Used to remove all controls at once. Overwrites the render[Top, Right, Bottom, Left]CenterControls()
* @default false
*/
withoutControls?: boolean;
}
export interface CarouselState {