<template>
  <swiper-slide class="swiper-slide">
      <slot />
  </swiper-slide>
</template>

<script lang="ts">
import Vue from 'vue';

import { swiperSlide } from 'vue-awesome-swiper'

export default Vue.extend({
  name: 'Slideshowitem',
  components: { swiperSlide }
})
</script>

<style scoped>
  .swiper-slide {
    text-align: center;
    font-size: 18px;
  }
  .swiper-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
    left: 50%;
    top: 50%;
  }
</style>
