primevue-mirror/components/lib/tab/BaseTab.vue

34 lines
643 B
Vue

<script>
import BaseComponent from 'primevue/basecomponent';
import TabStyle from 'primevue/tab/style';
export default {
name: 'BaseTab',
extends: BaseComponent,
props: {
value: {
type: String,
default: undefined
},
disabled: {
type: Boolean,
default: false
},
as: {
type: String,
default: 'BUTTON'
},
asChild: {
type: Boolean,
default: false
}
},
style: TabStyle,
provide() {
return {
$parentInstance: this
};
}
};
</script>