@mikezimm/fps-library-v2
Version:
Library of reusable typescript/javascript functions, interfaces and constants
36 lines • 1.13 kB
TypeScript
import * as React from 'react';
import { IDotsHookProps } from './SelectDots/component';
export interface ICarouselItem extends Partial<any> {
imageSrc?: string;
title?: string;
location?: string;
href?: string;
target?: string;
FirstPublishedDate?: any;
createdLoc?: string;
"Author/Title"?: string;
modifiedLoc?: string;
"Editor/Title"?: string;
}
export interface ICarouselProps {
items: ICarouselItem[];
firstXItems?: number;
titleField?: string;
descriptionField?: string;
hrefField?: string;
imageUrlField?: string;
noImage?: boolean;
showCreated?: boolean;
showPublished?: boolean;
showModified?: boolean;
constainerStyles?: React.CSSProperties;
constainerClass?: string;
}
export interface IFadeCarouselProps {
carouselProps: ICarouselProps;
dotProps?: IDotsHookProps;
}
export declare function getNextIndex(length: number, current: number, back?: boolean): number;
declare const FadeCarousel: React.FC<IFadeCarouselProps>;
export default FadeCarousel;
//# sourceMappingURL=component.d.ts.map