Skip to content

Commit 2a442c3

Browse files
Update readme.
1 parent a3277f6 commit 2a442c3

File tree

2 files changed

+2
-41
lines changed

2 files changed

+2
-41
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 2.3.0 - March 2023
22

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.
44

55
# 2.2.0 - May 2022
66

README.md

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -236,46 +236,7 @@ Defaults to `false`. Setting `isVertical` to `true` will render vertical carousa
236236
PropTypes.number
237237
```
238238

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.
279240

280241
Tests:
281242
----------------

0 commit comments

Comments
 (0)