29 lines
578 B
Vue
29 lines
578 B
Vue
|
<script>
|
||
|
import BaseComponent from '@primevue/core/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 {
|
||
|
$pcTimeline: this,
|
||
|
$parentInstance: this
|
||
|
};
|
||
|
}
|
||
|
};
|
||
|
</script>
|