Repository URL to install this package:
|
Version:
2.8.4 ▾
|
/// <reference types="react" />
import { MediaCarouselState } from './state';
import { MediaCarouselProps } from './typings';
declare function initMediaCarouselState(): MediaCarouselState;
declare function toMediaCarouselState(props: MediaCarouselProps): import("./typings").MediaCarouselStateType;
/**
* @todo make common in @skava/state
*
*/
declare const getDeviceType: () => "desktop" | "tablet" | "mobile";
declare const getValidNumber: (val: import("react").ReactText) => number | undefined;
declare const getDeviceColSpan: (props: MediaCarouselProps) => any;
declare const getCarouselPanelWidth: (props: MediaCarouselProps) => number;
export { getDeviceColSpan, getValidNumber, getDeviceType, getCarouselPanelWidth, toMediaCarouselState, initMediaCarouselState, };