Skip to content

Commit c265c04

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

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Scroll navigation bar component, like DiDi business navigation.
110110
| - | - | - | - | - |
111111
| direction | direction, default horizontal | String | horizontal/vertical | horizontal |
112112
| labels | the collection if all the item's keys | Array | - | [] |
113-
| txts | the text of showcases, it's order is correspondence with `labels` | Array | - | default equals to `labels` Prop |
113+
| txts | the text of showcases, it's order is correspondence with `labels`, the item can be a HTML string value | Array | - | default equals to `labels` Prop |
114114
| current | the key of the active item | String/Number | - | '' |
115115

116116
### Slot

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
| - | - | - | - | - |
109109
| direction | 方向,默认横向,horizontal | String | horizontal/vertical | horizontal |
110110
| labels | 所有的 key 值集合 | Array | - | [] |
111-
| txts | 显示所有文案集合,和 labels 一一对应 | Array | - | 默认等于 labes |
111+
| txts | 显示所有文案集合,和 labels 一一对应,每项可以是 HTML 字符串 | Array | - | 默认等于 labes |
112112
| current | 当前 active 的 key 值 | String/Number | - | '' |
113113

114114
### 插槽

0 commit comments

Comments
 (0)