Skip to content

Commit

Permalink
update packages, design improvements, add new props
Browse files Browse the repository at this point in the history
  • Loading branch information
sheikhfahad67 committed Sep 3, 2022
1 parent 65f6d66 commit ad4d902
Show file tree
Hide file tree
Showing 10 changed files with 20,529 additions and 30,160 deletions.
26 changes: 18 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

React carousel is an react based npm package which provides you simple multi images carousel with controlled buttons.

# What's new

- Packages update
- Design improvements
- Add more props to adjust image and arrow buttons height and width

## Features

- Simple multi images carousel
Expand Down Expand Up @@ -53,9 +59,11 @@ function App() {
<Slider
sliderResource={data}
backgroundColor='#333C19'
dotColor='#333C19'
dotColor='#735C19'
arrowsColor='#126C20'
arrowHoverColor='#64DF18'
imageHeight='25vh'
size={{ height: 2.5, width: 2.5 }}
/>
</div>
);
Expand All @@ -79,13 +87,15 @@ const data = [

### Props

| Fields | Type | Description |
| --------------- | :----: | ----------------: |
| sliderResource | Object | data object |
| backgroundColor | string | default `#353C69` |
| dotColor | string | default `#D1B000` |
| arrowsColor | string | default `#ffffff` |
| arrowHoverColor | string | default `#D1B000` |
| Fields | Type | Description |
| --------------- | :----: | ------------------------: |
| sliderResource | Object | data object |
| backgroundColor | string | default `#353C69` |
| dotColor | string | default `#D1B000` |
| arrowsColor | string | default `#ffffff` |
| arrowHoverColor | string | default `#D1B000` |
| imageHeight | string | default `50vh` |
| size | object | {height: 3.5, width: 3.5} |

## License

Expand Down
Loading

0 comments on commit ad4d902

Please sign in to comment.