Skip to content

Commit

Permalink
Deploying to main from @ hellof2e/quark-design@7a7940e 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanqi9675 committed Jan 25, 2024
1 parent 5b46cf0 commit 0820d45
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/docs_react/docs/tab/doc-react.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ In sticky mode, the nav-item will be fixed to top when scroll to top.
| dark | Whether to use dark mode | `boolean` | `false` |
| offsettop | Sticky offset top , supports vm | `string` | `0vw` |
| linewidth | Width of tab line | `string` | `40px` |
| shrink | Whether to shrink the the tabs to the left | `boolean` | `false` |
| onChange | change callback | `(e: {detail: { name: string,label: number }}) => void` | - |

### TabContent props
Expand Down
18 changes: 10 additions & 8 deletions src/docs_react/docs/tab/doc-react.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,16 @@ nav-item 在滚动时固定在屏幕上方

### Tabs props

| 方法名 | 说明 | 类型 | 默认值 |
| --------- | ----------------------------------------------- | -------------------------------------------------------- | ------- |
| activekey | 当前激活的 tab,对应到 `TabContent` 中的 `name` | `string` | - |
| sticky | 是否吸顶 | `boolean` | `false` |
| dark | 深色模式 | `boolean` | `false` |
| offsettop | 吸顶时与顶部的距离(单位: vw) | `string` | `0vw` |
| linewidth | 下划线宽 | string | `40px` |
| onChange | change 回调函数 | `(e: {detail: { name: string,label: number }}) => void` | - |
| 方法名 | 说明 | 类型 | 默认值 |
| --------- | ----------------------------------------------- | --------- | ------- |
| activekey | 当前激活的 tab,对应到 `TabContent` 中的 `name` | `string` | - |
| sticky | 是否吸顶 | `boolean` | `false` |
| dark | 深色模式 | `boolean` | `false` |
| offsettop | 吸顶时与顶部的距离(单位: vw) | `string` | `0vw` |
| linewidth | 下划线宽 | string | `40px` |
| shrink | 是否开启左侧收缩布局 | `boolean` | `false` |

| onChange | change 回调函数 | `(e: {detail: { name: string,label: number }}) => void` | - |

### TabContent props

Expand Down

0 comments on commit 0820d45

Please sign in to comment.