<script setup lang="ts">
import type { PaperType } from '@/types'
interface Props {
  data: PaperType
}
defineProps<Props>()
</script>

<template>
  <div class="course-exam-item" :key="data.id">
    <p>
      {{ data.paper_title }}
    </p>
  </div>
</template>

<style lang="scss" scoped>
.course-exam-item {
  display: flex;
  align-items: center;
  height: 48px;
  border-bottom: 1px solid #e6e6e6;
  p {
    flex: 1;
    line-height: 48px;
  }
  &:hover {
    color: var(--main-color);
  }

  .actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
</style>
