@@ -55,13 +55,28 @@ export declare class Carousel extends AntdComponent {
55
55
adaptiveHeight ?: boolean ;
56
56
arrows ?: boolean ;
57
57
autoplaySpeed ?: number ;
58
+ /**
59
+ * Whether to scroll automatically
60
+ * @default false
61
+ * @type boolean
62
+ */
58
63
autoplay ?: boolean ;
59
64
centerMode ?: boolean ;
60
65
centerPadding ?: string ;
61
66
cssEase ?: string ;
62
67
dotsClass ?: string ;
68
+ /**
69
+ * Whether to show the dots at the bottom of the gallery
70
+ * @default true
71
+ * @type boolean
72
+ */
63
73
dots ?: boolean ;
64
74
draggable ?: boolean ;
75
+ /**
76
+ * Transition interpolation function name
77
+ * @default 'linear'
78
+ * @type string
79
+ */
65
80
easing ?: string ;
66
81
edgeFriction ?: number ;
67
82
fade ?: boolean ;
@@ -71,7 +86,7 @@ export declare class Carousel extends AntdComponent {
71
86
pauseOnDotsHover ?: boolean ;
72
87
pauseOnFocus ?: boolean ;
73
88
pauseOnHover ?: boolean ;
74
- responsive ?: ResponsiveObject [ ] ;
89
+ responsive ?: ResponsiveObject [ ] | undefined ;
75
90
rows ?: number ;
76
91
rtl ?: boolean ;
77
92
slide ?: string ;
@@ -86,6 +101,11 @@ export declare class Carousel extends AntdComponent {
86
101
useCSS ?: boolean ;
87
102
useTransform ?: boolean ;
88
103
variableWidth ?: boolean ;
104
+ /**
105
+ * Whether to use a vertical display
106
+ * @default false
107
+ * @type boolean
108
+ */
89
109
vertical ?: boolean ;
90
110
verticalSwiping ?: boolean ;
91
111
waitForAnimate ?: boolean ;
@@ -96,49 +116,19 @@ export declare class Carousel extends AntdComponent {
96
116
*/
97
117
afterChange : ( current : number ) => any ;
98
118
99
- /**
100
- * Whether to scroll automatically
101
- * @default false
102
- * @type boolean
103
- */
104
- autoplay : boolean ;
105
-
106
119
/**
107
120
* Callback function called before the current index changes
108
121
* @type Function
109
122
*/
110
123
beforeChange : ( from : number , to : number ) => any ;
111
124
112
- /**
113
- * Whether to show the dots at the bottom of the gallery
114
- * @default true
115
- * @type boolean
116
- */
117
- dots : boolean ;
118
-
119
- /**
120
- * Transition interpolation function name
121
- * @default 'linear'
122
- * @type string
123
- */
124
- easing : string ;
125
-
126
125
/**
127
126
* Transition effect
128
127
* @default 'scrollx'
129
128
* @type string
130
129
*/
131
130
effect : 'scrollx' | 'fade' ;
132
131
133
- /**
134
- * Whether to use a vertical display
135
- * @default false
136
- * @type boolean
137
- */
138
- vertical : boolean ;
139
-
140
- responsive : ResponsiveObject [ ] ;
141
-
142
132
/**
143
133
* Go to slide index, if dontAnimate=true, it happens without animation
144
134
* @param slideNumber slide number to go
0 commit comments