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

This commit is contained in:
Benjy Cui 2016-09-29 15:50:45 +08:00
parent 2519677daa
commit 539bb33fe5

View File

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