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

27 lines
532 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: {
value: {
type: [String, Number],
default: undefined
2024-02-13 06:22:45 +00:00
},
linear: {
type: Boolean,
default: false
}
},
style: StepperStyle,
provide() {
return {
$pcStepper: this,
2024-02-13 06:22:45 +00:00
$parentInstance: this
};
}
};
</script>