Browse Source

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

pull/3223/head
Benjy Cui 8 years ago
parent
commit
539bb33fe5
  1. 2
      components/carousel/index.tsx

2
components/carousel/index.tsx

@ -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