<template>
  <component :is="activeName" />
</template>

<script>
import List from './components/list'

export default {
  components: {
    List: List
  },
  data() {
    return {
      activeName: 'List',
      heirloom: {}
    }
  },
  methods: {
    setActiveName(activeName) {
      this.activeName = activeName
    }
  },
  provide() {
    return {
      setActiveName: this.setActiveName
    }
  }
}
</script>

<style scoped>
</style>
