docs: add arrow faq to Carousel documentation

This commit is contained in:
afc163 2021-05-06 14:37:39 +08:00
parent 75e79a384b
commit 387b9fdd34
2 changed files with 12 additions and 4 deletions

View File

@ -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).

View File

@ -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)。