Skip to content

Commit

Permalink
feat(types): 完善swan button属性 #12665
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghaixiao authored and SeaHaiWorld committed Jun 30, 2023
1 parent aa3a4d3 commit ece63a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ require("./taro");
bindPoiTap: ""
},
Button: {
"template-id": "",
"subscribe-id": "",
bindSubscribe: "",
bindGetPhoneNumber: "",
bindGetUserInfo: "",
bindOpenSetting: "",
Expand Down
3 changes: 3 additions & 0 deletions packages/taro-swan/src/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ export const components = {
bindPoiTap: ''
},
Button: {
'template-id': '',
'subscribe-id': '',
bindSubscribe: '',
bindGetPhoneNumber: '',
bindGetUserInfo: '',
bindOpenSetting: '',
Expand Down

0 comments on commit ece63a7

Please sign in to comment.