@catho/quantum
Version:
Catho react components
25 lines (23 loc) • 602 B
TypeScript
import { FC } from 'react';
import { NonEmptyArray } from '../shared/types';
export interface CarouselProps {
dotsPagination?: boolean,
speed?: number,
slidesToScroll?: number,
arrowColor?: 'primary' | 'success' | 'error' | 'neutral' | 'warning',
cardSize?: 'small' | 'medium' | 'large',
cards: NonEmptyArray<{
imagePath?: string,
imageDescription?: string,
title?: string,
description?: string,
}>,
theme?: {
baseFontSize?: number;
colors?: {};
breakpoints?: {};
spacing?: {};
};
}
declare const Carousel: FC<CarouselProps>;
export default Carousel;