import { Prop, toNative } from 'vue-facing-decorator'; import TsxComponent, { Component } from '../../app/vuetsx'; import { SlotNameIdentifier } from '../../common/slot-name-identifier'; interface WizardTabArgs { id: string; title: string; subtitle?: string; icon: string; visible?: boolean; } @Component class WizardTabComponent extends TsxComponent implements WizardTabArgs { @Prop() id!: string; @Prop() title!: string; @Prop() subtitle!: string; @Prop() icon!: string; @Prop() visible!: boolean; active: boolean = false; render(h) { return
{this.$slots.default?.()}
; } } SlotNameIdentifier(WizardTabComponent, 'WizardTab'); const WizardTab = toNative(WizardTabComponent); export default WizardTab;