Skip to content

Commit

Permalink
docs(carousel): incorrect directiopn props api (#1187)
Browse files Browse the repository at this point in the history
Co-authored-by: 孙博浩 <[email protected]>
  • Loading branch information
myNameIsDu and 孙博浩 authored Dec 19, 2024
1 parent 6e4da33 commit 9db153c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zarm/src/carousel/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ ReactDOM.render(

| 属性 | 类型 | 默认值 | 说明 |
| :------------------- | :---------------------------- | :----- | :--------------------------------------------- |
| direction | string | 'left' | 滑动方向,可选值 `left``right``up``down` |
| direction | string | 'horizontal' | 滑动方向,可选值 `vertical``horizontal`|
| height | number \| string | 160 | 设置轮播区域高度 |
| activeIndex | number | 0 | 当前页面的索引 |
| loop | boolean | false | 是否循环 |
Expand Down

0 comments on commit 9db153c

Please sign in to comment.