Skip to content

Commit bef09e6

Browse files
committed
docs(scroll-nav): add HTML support
1 parent c265c04 commit bef09e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

document/components/docs/en-US/scroll-nav.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ ScrollNav component. You can use it to sticky your navigation bar and content.
152152
| Attribute | Description | Type | Accepted Values | Default |
153153
| - | - | - | - | - |
154154
| label | required, the key of panel | String/Number | - | - |
155-
| title | the title of panel | String/Number | - | default equal to `label` Prop |
155+
| title | the title of panel, can be a HTML string value | String/Number | - | default equal to `label` Prop |
156156

157157
### Slot
158158

document/components/docs/zh-CN/scroll-nav.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
153153
| - | - | - | - | - |
154154
| label | 必须,面板的唯一标示的值 | String/Number | - | - |
155-
| title | 面板标题内容 | String/Number | - | 默认等于 label |
155+
| title | 面板标题内容,可以是 HTML 字符串 | String/Number | - | 默认等于 label |
156156

157157
### 插槽
158158

0 commit comments

Comments
 (0)