primevue-mirror/components/lib/stepper/BaseStepper.vue

31 lines
613 B
Vue
Raw Normal View History

2024-02-13 06:22:45 +00:00
<script>
import BaseComponent from 'primevue/basecomponent';
import StepperStyle from 'primevue/stepper/style';
export default {
name: 'BaseStepper',
extends: BaseComponent,
props: {
activeStep: {
type: Number,
default: 0
},
orientation: {
type: String,
default: 'horizontal'
},
linear: {
type: Boolean,
default: false
}
},
style: StepperStyle,
provide() {
return {
$pcStepper: this,
2024-02-13 06:22:45 +00:00
$parentInstance: this
};
}
};
</script>