<template>
	<el-tooltip content="语音通话" placement="top">
		<el-button
			class="voice-btn"
			:icon="Microphone"
			circle
			@click="$emit('click')"
		/>
	</el-tooltip>
</template>

<script lang="ts" setup>
import { Microphone } from '@element-plus/icons-vue';

defineEmits<{
	(e: 'click'): void;
}>();
</script>

<style lang="scss" scoped>
.voice-btn {
	flex-shrink: 0;
}
</style>
