From a8a131ed12a2dc3dfef657e3e1adf0bd473489d3 Mon Sep 17 00:00:00 2001 From: Alex Smith Date: Wed, 26 Sep 2018 10:49:22 +0100 Subject: [PATCH] nuke-carousel - Adds the withoutControls prop to the nuka carousel definition file --- types/nuka-carousel/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/nuka-carousel/index.d.ts b/types/nuka-carousel/index.d.ts index dcecb92a99..4f6dcd9acb 100644 --- a/types/nuka-carousel/index.d.ts +++ b/types/nuka-carousel/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for nuka-carousel 4.2 // Project: https://github.com/FormidableLabs/nuka-carousel -// Definitions by: Roman Charugin +// Definitions by: Roman Charugin , Alex Smith // 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 {