diff --git a/src/components/Carousel/carouselProps.ts b/src/components/Carousel/carouselProps.ts index f77485c..fe16536 100644 --- a/src/components/Carousel/carouselProps.ts +++ b/src/components/Carousel/carouselProps.ts @@ -25,7 +25,7 @@ export const carouselProps = { // count of items to showed per view itemsToShow: { default: DEFAULT_CONFIG.itemsToShow, - type: Number || 'auto', + type: [Number, String], }, // count of items to be scrolled itemsToScroll: {