mirror of
https://github.com/elk-zone/elk.git
synced 2024-09-06 20:29:08 +01:00
21 lines
439 B
Vue
21 lines
439 B
Vue
<script setup lang="ts">
|
|
defineProps<{
|
|
showLabel?: boolean
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<div
|
|
flex="~ gap1" items-center
|
|
:class="{ 'border border-base rounded-md px-1': showLabel }"
|
|
text-secondary-light text-xs
|
|
>
|
|
<CommonTooltip :content="$t('account.bot')" :disabled="showLabel">
|
|
<div i-ri:robot-line />
|
|
</CommonTooltip>
|
|
<div v-if="showLabel">
|
|
{{ $t('account.bot') }}
|
|
</div>
|
|
</div>
|
|
</template>
|