mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 09:41:45 +00:00
nuke-carousel - Adds the withoutControls prop to the nuka carousel definition file
This commit is contained in:
Vendored
+6
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user