Skip to content

Commit

Permalink
docs: update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeLin committed Nov 19, 2024
1 parent aaec2c4 commit e2b7caa
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/zarm/src/tabs/demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,16 +258,16 @@ ReactDOM.render(<Demo />, mountNode);

### Tabs

| 属性 | 类型 | 默认值 | 说明 |
| :----------- | :---------------------- | :----- | :------------------------------------------- |
| value | number | - ||
| defaultValue | number | - | 初始值 |
| disabled | boolean | false | 是否禁用 |
| direction | string | 'top' | 方向,可选值为 `top` `bottom` `left` `right` |
| swipeable | boolean | false | 是否支持滑动切换 |
| scrollable | boolean | false | 是否支持滚动 |
| lineWidth | number \| string | - | 线条宽度 |
| onChange | (index: number) => void | - | 值变化时触发的回调函数 |
| 属性 | 类型 | 默认值 | 说明 |
| :----------- | :---------------------- | :--------------------------------- | :------------------------------------------------------------------------------------------ |
| value | number | - | |
| defaultValue | number | - | 初始值 |
| disabled | boolean | false | 是否禁用 |
| direction | string | 'top'<br />v3.1.5 前为'horizontal' | 方向,可选值为 `top` `bottom` `left` `right`<br />v3.1.5 前可选值为 `horizontal` `vertical` |
| swipeable | boolean | false | 是否支持滑动切换 |
| scrollable | boolean | false | 是否支持滚动 |
| lineWidth | number \| string | - | 线条宽度 |
| onChange | (index: number) => void | - | 值变化时触发的回调函数 |

### Panel

Expand Down

0 comments on commit e2b7caa

Please sign in to comment.