mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
fix: update CarouselRef goTo args (#28090)
This commit is contained in:
parent
dda1f2b09c
commit
4fad2ef958
@ -23,7 +23,7 @@ export interface CarouselProps extends Omit<Settings, 'dots' | 'dotsClass'> {
|
||||
}
|
||||
|
||||
export interface CarouselRef {
|
||||
goTo: (slide: number, dontAnimate: boolean) => void;
|
||||
goTo: (slide: number, dontAnimate?: boolean) => void;
|
||||
next: () => void;
|
||||
prev: () => void;
|
||||
autoPlay: boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user