Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit 01ff599

Browse files
author
yi
authored
Merge pull request YIZHUANG#164 from cmcWebCode40/docs-reamde-edit
fix(docs): edited typos in the documentation
2 parents 6383098 + 1cabce6 commit 01ff599

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ const responsive = {
197197

198198
You can pass your own custom arrows to make it the way you want, the same for the position. For example, add media query for the arrows to go under when on smaller screens.
199199

200-
You custom arrows will receive a list of props/state that's passed back by the carousel such as the currentSide, is dragging or swiping in progress.
200+
Your custom arrows will receive a list of props/state that's passed back by the carousel such as the currentSide, is dragging or swiping in progress.
201201

202202
[Code](https://github.com/YIZHUANG/react-multi-carousel/blob/master/stories/CustomArrows.js)
203203

@@ -224,7 +224,7 @@ const ButtonGroup = ({ next, previous, goToSlide ...rest }) => {
224224
const { carouselState: { currentSlide } } = rest;
225225
return (
226226
<div className="carousel-button-group"> // remember to give it position:absolute
227-
<ButtonOne className={currentSlide === 0 : 'disable' : ''} onClick={() => previous()} />
227+
<ButtonOne className={currentSlide === 0 ? 'disable' : ''} onClick={() => previous()} />
228228
<ButtonTwo onClick={() => next()} />
229229
<ButtonThree onClick={() => goToSlide(currentSlide + 1)}> Go to any slide </ButtonThree>
230230
</div>

0 commit comments

Comments
 (0)