import{useMemo as e}from"react";let useSlideCarousel=t=>{let{layoutType:r,ilNumberPerRow:l}=t,o=e(()=>{let e=5;switch(r){case"bottom-center":e=l||5;break;case"two-col":e=2;break;case"one-col":e=1;break;default:e=5}return e},[l,r]);return{itemSlideGrid:o,itemSlideList:1}};export{useSlideCarousel};
