<template>
  <v-alert :type="type" class="position">
    <slot></slot>
  </v-alert>
</template>

<script lang="ts">
  import {defineComponent, ref} from "@vue/composition-api";

  export default defineComponent({
    props: {
      type:{
        type: String,
        required: true
      }
    }
  })
</script>

<style scoped>
  .position{
    position: fixed;
    width: 300px;
    bottom: 0;
    right: 0;
  }
</style>
