Skip to content

Commit

Permalink
docs(NoticeBar): update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
anlyyao committed Feb 22, 2023
1 parent 3c70bc4 commit 2388c5f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 8 additions & 4 deletions src/notice-bar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ isComponent: true

## 代码演示

### 组件类型
### 01 组件类型

纯文字的公告栏

Expand All @@ -36,7 +36,11 @@ isComponent: true

{{ iconDemo }}

带操作的公告栏
带关闭的公告栏

{{ suffixIcon }}

带入口的公告栏

{{ event }}

Expand All @@ -48,13 +52,13 @@ isComponent: true

{{ customization }}

### 组件状态
### 02 组件状态

公告栏类型有普通(info)、警示(warning)、成功(success)、错误(error)

{{ theme }}

### 可滚动公告栏
### 03 可滚动公告栏

可滚动公告栏有水平(horizontal)和垂直(vertical)

Expand Down
4 changes: 1 addition & 3 deletions src/notice-bar/__test__/__snapshots__/demo.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ exports[`NoticeBar NoticeBar customization demo works fine 1`] = `
class="inline"
slot="content"
>
提示文字描述提示文字描述提示文字描述提示文字描述提示文字描述提示文字描述
提示文字描述提示文字描述提示文字描述提示文字描述提示文字描述提示文字描述
</wx-view>
<t-link
content="详情"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ exports[`NoticeBar NoticeBar customization demo works fine 1`] = `
class="inline"
slot="content"
>
提示文字描述提示文字描述提示文字描述提示文字描述提示文字描述提示文字描述
提示文字描述提示文字描述提示文字描述提示文字描述提示文字描述提示文字描述
</wx-view>
<t-link
content="详情"
Expand Down

0 comments on commit 2388c5f

Please sign in to comment.