<template name="button">
  <t-button
    block="{{block || false}}"
    class="{{class || ''}}"
    t-class="{{externalClass}}"
    disabled="{{disabled || false}}"
    data-type="{{type}}"
    data-extra="{{extra}}"
    icon="{{icon || ''}}"
    loading="{{loading || false}}"
    theme="{{theme || 'default'}}"
    ghost="{{ghost || false}}"
    shape="{{shape || 'rectangle'}}"
    size="{{size || 'medium'}}"
    variant="{{variant || 'base'}}"
    open-type="{{openType || ''}}"
    hover-stop-propagation="{{hoverStopPropagation || false}}"
    hover-start-time="{{hoverStartTime || 20}}"
    hover-stay-time="{{hoverStayTime || 70}}"
    lang="{{lang || 'en'}}"
    session-from="{{sessionFrom || ''}}"
    send-message-title="{{sendMessageTitle || ''}}"
    send-message-path="{{sendMessagePath || ''}}"
    send-message-img="{{sendMessageImg || ''}}"
    app-parameter="{{appParameter || ''}}"
    show-message-card="{{showMessageCard || false}}"
    bind:tap="onTplButtonTap"
    bind:getuserinfo="onTplButtonTap"
    bind:contact="onTplButtonTap"
    bind:getphonenumber="onTplButtonTap"
    bind:error="onTplButtonTap"
    bind:opensetting="onTplButtonTap"
    bind:launchapp="onTplButtonTap"
    aria-label="{{ariaLabel || ''}}"
    >{{content}}</t-button
  >
</template>
