File tree Expand file tree Collapse file tree 2 files changed +2
-41
lines changed Expand file tree Collapse file tree 2 files changed +2
-41
lines changed Original file line number Diff line number Diff line change 1
1
# 2.3.0 - March 2023
2
2
3
- *** (Feature)*** Add support for vertical carousal. Replace existing css arrows with .svg arrows and ability to pass in custom .svg files for arrows.
3
+ *** (Feature)*** Add support for vertical carousal.
4
4
5
5
# 2.2.0 - May 2022
6
6
Original file line number Diff line number Diff line change @@ -236,46 +236,7 @@ Defaults to `false`. Setting `isVertical` to `true` will render vertical carousa
236
236
PropTypes.number
237
237
```
238
238
239
- Defaults to ` 0 ` . This prop can used to customize the positioning of vertical arrows in case of a vertical carousal.
240
-
241
- #### upArrowImage
242
- ```
243
- PropTypes.node
244
- ```
245
-
246
- This prop can used to pass a custom ` .svg ` image to replace the default up arrow.
247
-
248
- #### downArrowImage
249
- ```
250
- PropTypes.node
251
- ```
252
-
253
- This prop can used to pass a custom ` .svg ` image to replace the default down arrow.
254
-
255
- #### leftArrowImage
256
- ```
257
- PropTypes.node
258
- ```
259
-
260
- This prop can used to pass a custom ` .svg ` image to replace the default left arrow.
261
-
262
- #### rightArrowImage
263
- ```
264
- PropTypes.node
265
- ```
266
-
267
- This prop can used to pass a custom ` .svg ` image to replace the default right arrow.
268
-
269
- ```
270
- // Example for custom svg image :
271
- import UpImage from '../../test/images/test-up-arrow.svg';
272
- import DownImage from '../../test/images/test-down-arrow.svg';
273
-
274
- <Carousel height='450px' width='450px' cellPadding={ 5 } infinite={ false } arrows={ true }
275
- dots={ false } isVertical={ true } upArrowImage={<UpImage/>} downArrowImage={<DownImage/>} >
276
- { imgElements }
277
- </Carousel>;
278
- ```
239
+ Defaults to ` 0 ` . This prop can used to customize the positioning of vertical arrows in case of a vertical carousal.
279
240
280
241
Tests:
281
242
----------------
You can’t perform that action at this time.
0 commit comments