Skip to content

Commit 4e56854

Browse files
committed
feat: add props.image structure type
1 parent a2b40d2 commit 4e56854

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

Diff for: CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Change Log
22

3+
### 2.4.0 (March 05, 2022)
4+
5+
- add `props.image` structure type
6+
7+
### 2.3.0 (October 24, 2022)
8+
9+
- add feature
10+
- auto play
11+
- loop
12+
313
### 2.2.0 (September 19, 2021)
414

515
- add className for image slider

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ If You want to see more detail source,<br>
7474
| :-----------------: | :--------: | :--------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------- | :-------- |
7575
| **width** | `Number` | `Required` | Image Slider Width | |
7676
| **height** | `Number` | `Required` | Image Slider Height | |
77-
| **images** | `Array` | `Required` | Images,<br>Array Elements should be like this structure,<br>{ url: "" } | |
77+
| **images** | `Array` | `Required` | Images,<br>Array Elements should be like this structure,<br/>{ url: "" } or string[] | |
7878
| **style** | `String` | `Optional` | css object | |
7979
| **slideDuration** | `Number` | `Optional` | css transition-duration property | `0.5` |
8080
| **navStyle** | `Number` | `Optional` | Arrow Navgation Style,<br>1 or 2 | `1` |

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-simple-image-slider",
3-
"version": "2.3.0",
3+
"version": "2.4.0",
44
"description": "simple image slider component for react",
55
"main": "dist/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)