增加 actionsheet 文档 (#118)

This commit is contained in:
Yao 2018-01-23 15:48:30 +08:00 committed by GitHub
parent 741d0d1237
commit 1951941145
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -42,6 +42,7 @@ npm run dev
我们推荐在你的`app.wxss`直接引入`zanui-weapp/dist/index.wxss`
#### 具体组件文档
* [Actionsheet - 行动按钮](./packages/actionsheet/README.md)
* [Badge - 徽章](./packages/badge/README.md)
* [Button - 按钮](./packages/btn/README.md)
* [Capsule - 胶囊](./packages/capsule/README.md)

View File

@ -72,7 +72,10 @@ actions 的具体数据结构
// 按钮特殊类,可以通过传入这个,为按钮增加特殊样式
className: 'action-class',
// 按钮是否显示为 loading
loading: false
loading: false,
// 按钮的微信开放能力
// 具体支持可参考微信官方文档https://mp.weixin.qq.com/debug/wxadoc/dev/component/button.html
openType: 'share'
}]
```