react-multi-carousel
Advanced tools
Comparing version 2.2.4 to 2.2.5
import * as React from "react"; | ||
export interface responsiveType { | ||
export interface ResponsiveType { | ||
[key: string]: { | ||
@@ -16,3 +16,3 @@ breakpoint: { | ||
export interface CarouselProps { | ||
responsive: responsiveType; | ||
responsive: ResponsiveType; | ||
deviceType?: string; | ||
@@ -56,3 +56,3 @@ ssr?: boolean; | ||
export declare type Direction = "left" | "right" | "" | undefined; | ||
export interface buttonGroupProps { | ||
export interface ButtonGroupProps { | ||
previous?: () => void; | ||
@@ -59,0 +59,0 @@ next?: () => void; |
@@ -1,5 +0,5 @@ | ||
import { responsiveType, CarouselProps } from "../types"; | ||
declare function getPartialVisibilityGutter(responsive: responsiveType, partialVisbile?: boolean, serverSideDeviceType?: string | undefined, clientSideDeviceType?: string | undefined): number | undefined; | ||
declare function getWidthFromDeviceType(deviceType: string, responsive: responsiveType): number | string | undefined; | ||
import { ResponsiveType, CarouselProps } from "../types"; | ||
declare function getPartialVisibilityGutter(responsive: ResponsiveType, partialVisbile?: boolean, serverSideDeviceType?: string | undefined, clientSideDeviceType?: string | undefined): number | undefined; | ||
declare function getWidthFromDeviceType(deviceType: string, responsive: ResponsiveType): number | string | undefined; | ||
declare function getItemClientSideWidth(props: CarouselProps, slidesToShow: number, containerWidth: number): number; | ||
export { getWidthFromDeviceType, getPartialVisibilityGutter, getItemClientSideWidth, }; |
{ | ||
"name": "react-multi-carousel", | ||
"private": false, | ||
"version": "2.2.4", | ||
"version": "2.2.5", | ||
"description": "Production-ready, lightweight fully customizable React carousel component that rocks supports multiple items and SSR(Server-side rendering) with typescript.", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -6,7 +6,7 @@ | ||
import * as React from 'react'; | ||
import { buttonGroupProps, ArrowProps, DotProps } from 'react-multi-carousel/lib/types'; | ||
import { ButtonGroupProps, ArrowProps, DotProps } from 'react-multi-carousel/lib/types'; | ||
interface CustomLeftArrowProps extends ArrowProps { | ||
myOwnStuff: string; | ||
} | ||
interface CarouselButtonGroupProps extends buttonGroupProps { | ||
interface CarouselButtonGroupProps extends ButtonGroupProps { | ||
className?: string; | ||
@@ -13,0 +13,0 @@ } |
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
174554
69
5