UNPKG

uiv

Version:

Bootstrap 3 components implemented by Vue 2.

14 lines (12 loc) 349 B
import { mergeData } from 'vue-functional-data-merge' import ProgressBarStack from './ProgressBarStack' export default { functional: true, render (h, { props, data, children }) { return h( 'div', mergeData(data, { class: 'progress' }), children && children.length ? children : [h(ProgressBarStack, { props })] ) } }