fix: should allow ref to react-slick, close: #3164

pull/3223/head
Benjy Cui 8 years ago
parent 2519677daa
commit 539bb33fe5

@ -62,7 +62,7 @@ export default class Carousel extends React.Component<CarouselProps, any> {
return (
<div className={className}>
<SlickCarousel {...props} />
<SlickCarousel ref="slick" {...props} />
</div>
);
}

Loading…
Cancel
Save