@arranjae/react-simple-carousel
Version:
Simple Carousel - React and TypeScript
28 lines • 667 B
TypeScript
export interface CarouselProps {
list: Array<ItemType>;
wrapperClasses?: string | string[] | any;
showBullets?: boolean;
showCardNoItems?: boolean;
customButtons?: {
next: React.ElementType;
prev: React.ElementType;
};
}
export interface ItemType {
content: JSX.Element;
onClickItem?: Function;
itemCustomClass?: any;
}
export interface ItemProps {
item: ItemType;
refer: Function;
id?: string;
setScroll?: Function;
}
export interface ButtonsProps {
Elem?: React.ElementType;
className: string;
handleClick: Function;
children: React.ReactNode;
}
//# sourceMappingURL=types.d.ts.map