primevue-mirror/packages/primevue/src/steps/BaseSteps.vue

34 lines
645 B
Vue

<script>
import BaseComponent from '@primevue/core/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>