<template>
  <div class="hero">
    <div class="bg">
      <div class="container">
        <h2>{{ title }}</h2>
        <slot></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'HeroComponent',
  props: {
    title: {
      required: true,
      type: String,
      default: ''
    }
  }
}
</script>
