ado5 3903c18ce2 first commit | 9 months atrás | |
---|---|---|
.. | ||
README.md | 9 months atrás | |
button-group.d.ts | 9 months atrás | |
button-group.js | 9 months atrás | |
button-group.json | 9 months atrás | |
button-group.wxml | 9 months atrás | |
button-group.wxss | 9 months atrás |
title: ButtonGroup description: 按钮组 spline: base
无
在 app.json
或 page.json
中引入组件:
"usingComponents": {
"t-button-group": "tdesign-miniprogram/button-group/button-group"
}
<!-- page.wxml -->
<t-button-group>
<t-button theme="ghost">置底按钮</t-button>
<t-button theme="primary">置底按钮</t-button>
</t-button-group>
<t-button-group>
组件组件路径:tdesign-miniprogram/button-group/button-group
| 属性 | 值类型 | 默认值 | 必传 | 说明 |
| ---- | ---------- | ------- | ----------- | ---- | ---------- |
| type | 'default' | 'menu'
| 'default'
| N | 按钮组样式 |