primevue-mirror/components/lib/steps/BaseSteps.vue

34 lines
639 B
Vue

<script>
import BaseComponent from 'primevue/basecomponent';
import StepsStyle from 'primevue/steps/style';
export default {
name: 'BaseSteps',
extends: BaseComponent,
props: {
id: {
type: String
},
model: {
type: Array,
default: null
},
readonly: {
type: Boolean,
default: true
},
activeStep: {
type: Number,
default: 0
}
},
style: StepsStyle,
provide() {
return {
$pcSteps: this,
$parentInstance: this
};
}
};
</script>