<script setup lang="ts">
import ButtonBar from '@/components/common/ButtonBar.vue'

defineProps<{ title: string }>()
</script>
<template>
  <div class="app-module">
    <div>
      <h2 class="app-module-header">{{ title }}</h2>
      <slot></slot>
    </div>
    <ButtonBar>
      <slot name="actions"></slot>
    </ButtonBar>
  </div>
</template>
