<template>
  <v-snackbar
    v-model="modelValue"
    variant="flat"
  >
    <v-icon
      color="primary"
      icon="check_circle"
      size="large"
      start
    />
    <span class="shark-950 text-center text-sm-medium">
      {{ t('texts.linkCopied') }}
    </span>
    <template #actions>
      <v-btn
        class="shark-400"
        icon="close"
        size="small"
        data-testid="closeBtn"
        variant="text"
        @click="modelValue = false"
      />
    </template>
  </v-snackbar>
</template>

<script setup lang="ts">
import { useI18n } from 'vue-i18n';

const { t } = useI18n();

const modelValue = defineModel<boolean>({ default: false });
</script>
