Skip to content

Commit b9fb52e

Browse files
author
Rogerio Felix
committed
fix: className prop to CarouselWrapper component
1 parent 964fc55 commit b9fb52e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/next-elastic-carousel/components/styled/CarouselWrapper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ const CarouselWrapperDiv = styled.div`
88
direction: ${({ isRTL }) => (isRTL ? 'rtl' : 'ltr')};
99
`;
1010

11-
export default function CarouselWrapper({ isRTL, children }) {
11+
export default function CarouselWrapper({ isRTL, children, className }) {
1212

1313
return <StyleSheetManager shouldForwardProp={(prop) => prop !== 'isRTL'}>
14-
<CarouselWrapperDiv isRTL={isRTL}>{children}</CarouselWrapperDiv>
14+
<CarouselWrapperDiv isRTL={isRTL} className={className}>{children}</CarouselWrapperDiv>
1515
</StyleSheetManager>
1616
}

0 commit comments

Comments
 (0)