Skip to content

Commit

Permalink
docs: add arrow faq to Carousel documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed May 6, 2021
1 parent 75e79a3 commit 387b9fd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions components/carousel/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ A carousel component. Scales with its container.
| next() | Change current slide to next slide |
| prev() | Change current slide to previous slide |

Arrow question for reference [#12479](https://github.com/ant-design/ant-design/issues/12479)

Find more APIs in react-slick [documentation](https://react-slick.neostack.com/docs/api).

## FAQ

### How to add custom arrows?

See [#12479](https://github.com/ant-design/ant-design/issues/12479).
8 changes: 6 additions & 2 deletions components/carousel/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ cover: https://gw.alipayobjects.com/zos/antfincdn/%24C9tmj978R/Carousel.svg
| next() | 切换到下一面板 |
| prev() | 切换到上一面板 |

Arrow 问题可参考 [#12479](https://github.com/ant-design/ant-design/issues/12479)

更多 API 可参考:<https://react-slick.neostack.com/docs/api>

## FAQ

### 如何自定义箭头?

可参考 [#12479](https://github.com/ant-design/ant-design/issues/12479)

0 comments on commit 387b9fd

Please sign in to comment.