Socket
Socket
Sign inDemoInstall

@types/react-slick

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-slick - npm Package Compare versions

Comparing version 0.23.4 to 0.23.5

96

react-slick/index.d.ts

@@ -17,7 +17,7 @@ // Type definitions for react-slick 0.23

export interface CustomArrowProps {
className?: string;
style?: React.CSSProperties;
onClick?: React.MouseEventHandler<any>;
currentSlide?: number;
slideCount?: number;
className?: string | undefined;
style?: React.CSSProperties | undefined;
onClick?: React.MouseEventHandler<any> | undefined;
currentSlide?: number | undefined;
slideCount?: number | undefined;
}

@@ -35,27 +35,27 @@

export interface Settings {
accessibility?: boolean;
adaptiveHeight?: boolean;
accessibility?: boolean | undefined;
adaptiveHeight?: boolean | undefined;
afterChange?(currentSlide: number): void;
appendDots?(dots: React.ReactNode): JSX.Element;
arrows?: boolean;
asNavFor?: Slider;
autoplaySpeed?: number;
autoplay?: boolean;
arrows?: boolean | undefined;
asNavFor?: Slider | undefined;
autoplaySpeed?: number | undefined;
autoplay?: boolean | undefined;
beforeChange?(currentSlide: number, nextSlide: number): void;
centerMode?: boolean;
centerPadding?: string;
className?: string;
cssEase?: string;
centerMode?: boolean | undefined;
centerPadding?: string | undefined;
className?: string | undefined;
cssEase?: string | undefined;
customPaging?(index: number): JSX.Element;
dotsClass?: string;
dots?: boolean;
draggable?: boolean;
easing?: string;
edgeFriction?: number;
fade?: boolean;
focusOnSelect?: boolean;
infinite?: boolean;
initialSlide?: number;
lazyLoad?: LazyLoadTypes;
nextArrow?: JSX.Element;
dotsClass?: string | undefined;
dots?: boolean | undefined;
draggable?: boolean | undefined;
easing?: string | undefined;
edgeFriction?: number | undefined;
fade?: boolean | undefined;
focusOnSelect?: boolean | undefined;
infinite?: boolean | undefined;
initialSlide?: number | undefined;
lazyLoad?: LazyLoadTypes | undefined;
nextArrow?: JSX.Element | undefined;
onEdge?(swipeDirection: SwipeDirection): void;

@@ -66,25 +66,25 @@ onInit?(): void;

onSwipe?(swipeDirection: SwipeDirection): void;
pauseOnDotsHover?: boolean;
pauseOnFocus?: boolean;
pauseOnHover?: boolean;
prevArrow?: JSX.Element;
responsive?: ResponsiveObject[];
rows?: number;
rtl?: boolean;
slide?: string;
slidesPerRow?: number;
slidesToScroll?: number;
slidesToShow?: number;
speed?: number;
swipeToSlide?: boolean;
swipe?: boolean;
pauseOnDotsHover?: boolean | undefined;
pauseOnFocus?: boolean | undefined;
pauseOnHover?: boolean | undefined;
prevArrow?: JSX.Element | undefined;
responsive?: ResponsiveObject[] | undefined;
rows?: number | undefined;
rtl?: boolean | undefined;
slide?: string | undefined;
slidesPerRow?: number | undefined;
slidesToScroll?: number | undefined;
slidesToShow?: number | undefined;
speed?: number | undefined;
swipeToSlide?: boolean | undefined;
swipe?: boolean | undefined;
swipeEvent?(swipeDirection: SwipeDirection): void;
touchMove?: boolean;
touchThreshold?: number;
useCSS?: boolean;
useTransform?: boolean;
variableWidth?: boolean;
vertical?: boolean;
verticalSwiping?: boolean;
waitForAnimate?: boolean;
touchMove?: boolean | undefined;
touchThreshold?: number | undefined;
useCSS?: boolean | undefined;
useTransform?: boolean | undefined;
variableWidth?: boolean | undefined;
vertical?: boolean | undefined;
verticalSwiping?: boolean | undefined;
waitForAnimate?: boolean | undefined;
}

@@ -91,0 +91,0 @@

{
"name": "@types/react-slick",
"version": "0.23.4",
"version": "0.23.5",
"description": "TypeScript definitions for react-slick",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-slick",
"license": "MIT",

@@ -29,3 +30,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -40,4 +41,4 @@ "type": "git",

},
"typesPublisherContentHash": "caca897b2c7cccdfb20946b2b4c1a9ac675a85649ff389a66fea86698aefebac",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "337402060a24aa303e7b4a17e713ec7f41670db0311fd3b5c967912de309e0e5",
"typeScriptVersion": "3.6"
}

@@ -5,13 +5,13 @@ # Installation

# Summary
This package contains type definitions for react-slick ( https://github.com/akiran/react-slick ).
This package contains type definitions for react-slick (https://github.com/akiran/react-slick).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-slick
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-slick.
Additional Details
* Last updated: Fri, 03 May 2019 10:37:16 GMT
* Dependencies: @types/react
### Additional Details
* Last updated: Wed, 07 Jul 2021 17:34:02 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)
* Global values: none
# Credits
These definitions were written 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>.
These definitions were written by [Andrey Balokha](https://github.com/andrewBalekha), [Giedrius Grabauskas](https://github.com/GiedriusGrabauskas), [Andrew Makarov](https://github.com/r3nya), and [Shannor Trotty](https://github.com/Shannor).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc