Skip to content

Commit a5ce1db

Browse files
committed
feat: carousel responsiveness breakpoint
1 parent 57a7f47 commit a5ce1db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/components/Carousel.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ const Carousel = (props: { children: React.ReactNode[], ref: any, asNavFor: any
1818
settings: {
1919
slidesToShow: 1,
2020
}
21+
}, {
22+
breakpoint: 918,
23+
settings: {
24+
slidesToShow: 2,
25+
}
2126
}]}>
2227
{props.children}
2328
</Slider>

0 commit comments

Comments
 (0)