Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import { GalleryProps } from './typings';
/**
 * @todo isArray needs to be used here to make sure the list is array type
 */
declare const isNonEmptyArray: (list: import("./typings").ItemProps[]) => boolean;
/**
 * get device type based on the window width
 */
declare function getDeviceType(): "mobile" | "tablet" | "desktop";
/**
 * get item display count based on the device type
 */
declare function getItemDisplayCount(props: GalleryProps): string | number | undefined;
/**
 * @description used to get item width based displayCount on the device width
 */
declare function getItemWidth(displayCount: number): number;
export { isNonEmptyArray, getItemDisplayCount, getDeviceType, getItemWidth, };