quasar-framework
Version:
Simultaneously build desktop/mobile SPA websites & phone/tablet apps with VueJS
24 lines (23 loc) • 365 B
JavaScript
export default {
name: 'q-timeline',
provide () {
return {
__timeline: this
}
},
props: {
color: {
type: String,
default: 'primary'
},
dark: Boolean
},
render (h) {
return h('ul', {
staticClass: 'q-timeline',
'class': { 'q-timeline-dark': this.dark }
}, [
this.$slots.default
])
}
}