28 lines
541 B
Vue
28 lines
541 B
Vue
<script>
|
|
import BaseComponent from 'primevue/basecomponent';
|
|
import TimelineStyle from 'primevue/timeline/style';
|
|
|
|
export default {
|
|
name: 'BaseTimeline',
|
|
extends: BaseComponent,
|
|
props: {
|
|
value: null,
|
|
align: {
|
|
mode: String,
|
|
default: 'left'
|
|
},
|
|
layout: {
|
|
mode: String,
|
|
default: 'vertical'
|
|
},
|
|
dataKey: null
|
|
},
|
|
style: TimelineStyle,
|
|
provide() {
|
|
return {
|
|
$parentInstance: this
|
|
};
|
|
}
|
|
};
|
|
</script>
|