UNPKG

uiv

Version:

Bootstrap 3 components implemented by Vue 2.

23 lines (21 loc) 407 B
import { mergeData } from 'vue-functional-data-merge' export default { functional: true, render (h, { children, data, props }) { return h( 'p', mergeData(data, { class: { 'navbar-text': true, 'navbar-left': props.left, 'navbar-right': props.right } }), children ) }, props: { left: Boolean, right: Boolean } }