<button
  data-custom="{{ customDataset }}"
  class="{{className}} {{prefix}}-class"
  form-type="{{type}}"
  open-type="{{disabled ? '' : openType}}"
  hover-stop-propagation="{{hoverStopPropagation}}"
  hover-start-time="{{hoverStartTime}}"
  hover-stay-time="{{hoverStayTime}}"
  lang="{{lang}}"
  session-from="{{sessionFrom}}"
  hover-class="{{variant == 'text' ? 'none' : 'button-hover'}}"
  send-message-title="{{sendMessageTitle}}"
  send-message-path="{{sendMessagePath}}"
  send-message-img="{{sendMessageImg}}"
  app-parameter="{{appParameter}}"
  show-message-card="{{showMessageCard}}"
  share-mode="{{shareMode}}"
  group-id="{{groupId}}"
  guild-id="{{guildId}}"
  public-id="{{publicId}}"
  open-id="{{openId}}"
  share-message-friend-info="{{shareMessageFriendInfo}}"
  share-message-title="{{shareMessageTitle}}"
  share-message-img="{{shareMessageImg}}"
  bind:addfriend="addfriend"
  bind:addgroupapp="addgroupapp"
  catch:tap="handleTap"
  bind:getuserinfo="getuserinfo"
  bind:contact="contact"
  bind:error="error"
  bind:opensetting="opensetting"
  bind:launchapp="launchapp"
>
  <view class="{{classPrefix}}__wrapper">
    <t-icon wx:if="{{icon}}" name="{{icon}}" class="{{classPrefix}}__icon {{prefix}}-class-icon"></t-icon>
    <view class="{{classPrefix}}--loading {{prefix}}-class-loading" wx:if="{{loading}}">
      <view class="{{classPrefix}}__circular"></view>
    </view>
    <view class="{{classPrefix}}__content">
      <slot />
      <slot name="content" />
      <block>{{content}}</block>
    </view>
  </view>
</button>
