<script setup lang="ts">
import ToolBar from './ToolBar.vue'
</script>

<template>
  <div class="tw:h-full tw:bg-(--main-background-color) tw:border-(--view-separator-color) tw:flex tw:flex-col">
    <ToolBar v-if="$slots.toolbar">
      <slot name="toolbar" />
    </ToolBar>

    <div class="tw:flex-1 tw:min-h-0">
      <slot />
    </div>
  </div>
</template>

<style scoped></style>
