<template>
  <div class="d-flex flex-column h-100">
    <toolbar :title="title" :icon="icon">
      <slot name="toolbar"/>
    </toolbar>
    <upgrade-alert/>
    <div class="overflow-y-auto">
      <slot/>
    </div>
  </div>
</template>

<script setup>

import Toolbar from "@/components/chart/Toolbar.vue";
import UpgradeAlert from "@/components/UpgradeAlert.vue";

const props = defineProps(['title', 'icon'])

</script>

<style scoped lang="scss">

</style>