mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
fix: should allow ref to react-slick, close: #3164
This commit is contained in:
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…
Reference in New Issue
Block a user