<template>
  <text-card-base v-bind="$attrs" ellipsis>
    <template v-slot:footer-extra="{ text }">
      <b-button @click="$emit('open', text.id)" variant="outline-dark">
        {{ $t('text.read') }}
      </b-button>
    </template>
  </text-card-base>
</template>

<script>
import TextCardBase from './TextCardBase'


export default {
  name: 'TextMiniCard',

  components: {
    TextCardBase
  }
}
</script>

<style lang="scss" scoped>
.text-card {
  box-shadow: .5rem .5rem 1rem rgba($black, .25);
}
</style>
