Files
dolphin-frontend/src/components/common/full-screen.vue
2023-12-14 21:45:29 +08:00

23 lines
433 B
Vue

<script setup lang="ts">
import { $t } from '@/locales';
defineOptions({
name: 'FullScreen'
});
defineProps<Props>();
interface Props {
full?: boolean;
}
</script>
<template>
<ButtonIcon :key="String(full)" :tooltip-content="full ? $t('icon.fullscreenExit') : $t('icon.fullscreen')">
<IconGridiconsFullscreenExit v-if="full" />
<IconGridiconsFullscreen v-else />
</ButtonIcon>
</template>
<style scoped></style>