<template>
  <div class="PublicPageHeader">
    <div class="PublicPageHeader-title manageTitle">{{ pageTitle }}</div>
    <div class="PublicPageHeader-btns">
      <slot />
    </div>
  </div>
</template>

<script>
export default {
  name: 'PublicPageHeader',
  props: {
    pageTitle: {
      type: String,
      default: ''
    }
  },
  methods: {
    handleAdd () {
      this.$emit('handleAdd')
    }
  }
}
</script>

<style lang="scss" scoped>
.PublicPageHeader {
  height: 40px;
  line-height: 40px;
  display: flex;
  justify-content: space-between;
}
</style>