<template>
<div class="honjo-section">
  <div class="honjo-section__header">
    <div>
      <span class="honjo-section__title"><slot name="title">{{title}}</slot></span>
      <span class="honjo-section__subtitle"><slot name="subtitle"><span v-html="subtitle"></span></slot></span>
    </div>
    <div>
      <slot name="extra"></slot>
    </div>
  </div>
  <div><slot></slot></div>
</div>
</template>

<script lang="ts">

import { Vue, Component, Prop, Ref } from 'vue-property-decorator'

@Component({
  components: { }
})
export default class HonjoSection extends Vue {
  @Prop(String) title!: string

  @Prop(String) subtitle!: string
}
</script>

<style lang="scss">
@import "./style/index.scss";

</style>
