<template>
  <!-- 包装微信小程序的button组件，用于实现微信小程序的原生button功能 -->
  <button :open-type="openType" class="remove-button-style">
    <slot />
  </button>
</template>

<script setup lang="ts">
const props = defineProps<{
  openType: 'getPhoneNumber'|'getUserInfo'|'launchApp'|'openSetting'|'contact'|'share'|'getLocation'|'openBluetoothAdapter'|'openBluetoothDeviceManager'|'openBluetoothDeviceConnect'|'openBluetoothDeviceConnectSuccess'|'openBluetoothDeviceConnectFail'|'openBluetoothDeviceConnectCancel'|'openBluetoothDeviceConnectTimeout'|'openBluetoothDeviceConnectError'|'openBluetoothDeviceConnectDisconnect'|'openBluetoothDeviceConnectDisconnectTimeout'|'openBluetoothDeviceConnectDisconnectError'|'openBluetoothDeviceConnectDisconnectCancel'|'openBluetoothDeviceConnectDisconnectTimeout'|'openBluetoothDeviceConnectDisconnectError'|'openBluetoothDeviceConnectDisconnectCancel';
}>();
</script>