riku
2025-07-18 306ef09707d6bcf9ffa67de55f86ab6f4362deee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<template>
  <div class="title-wrapper">
    <div v-if="title" class="fy-h2">{{ title }}</div>
    <slot name="extra"></slot>
  </div>
  <table>
    <tbody>
      <slot></slot>
    </tbody>
  </table>
</template>
 
<script>
export default {
  props: {
    title: String
  }
};
</script>
 
<style scoped>
.title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 
table {
  width: 100%;
}
</style>