bootstrap-vue
Version:
BootstrapVue provides one of the most comprehensive implementations of Bootstrap 4 components and grid system for Vue.js and with extensive and automated WAI-ARIA accessibility markup.
16 lines (14 loc) • 344 B
JavaScript
import Form from '../form/form'
import { mergeData } from 'vue-functional-data-merge'
export default {
functional: true,
props: {
id: {
type: String,
default: null
}
},
render (h, { props, data, children }) {
return h(Form, mergeData(data, { attrs: { id: props.id }, props: { inline: true } }), children)
}
}