<template>
  <span :data-test="`itf-tab-${tabId}`">
    <slot />
  </span>
</template>
<script>
import { Vue, Component, Prop, Inject } from 'vue-property-decorator';

export default @Component({
  name: 'itfTab',
  components: {
  }
})
class itfTab extends Vue {
  @Inject() tabsManager;
  @Prop() id;
  @Prop() to;
  @Prop({ type: Boolean, default: undefined }) active;

  get tabId() {
    return this.id || this._uid;
  }
}
</script>
