mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
fix: carousel type declaration (#33109)
fix: CarouselRef["autoPlay"] is a method instead of a boolean value
This commit is contained in:
parent
69da0de845
commit
9b46aa5133
@ -25,7 +25,7 @@ export interface CarouselRef {
|
||||
goTo: (slide: number, dontAnimate?: boolean) => void;
|
||||
next: () => void;
|
||||
prev: () => void;
|
||||
autoPlay: boolean;
|
||||
autoPlay: (palyType?: 'update' | 'leave' | 'blur') => void;
|
||||
innerSlider: any;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user