Skip to content

Commit

Permalink
feat(GoodsActionButton): add default slot (#2779)
Browse files Browse the repository at this point in the history
  • Loading branch information
rex-zsd authored Feb 21, 2020
1 parent 4b58899 commit dcd3665
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/goods-action-button/index.wxml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@
bindlaunchapp="bindLaunchApp"
>
{{ text }}
<slot></slot>
</van-button>
6 changes: 6 additions & 0 deletions packages/goods-action/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ Page({
|-----------|-----------|
| icon | 自定义图标 |

### GoodsActionButton Slot

| 名称 | 说明 |
|-----------|-----------|
| - | 按钮显示内容 |

### GoodsActionIcon 外部样式类

| 类名 | 说明 |
Expand Down

0 comments on commit dcd3665

Please sign in to comment.