UNPKG

bootstrap-vue

Version:

Quickly integrate Bootstrap 4 components with Vue.js

41 lines (38 loc) 714 B
import { mergeData } from '../../utils'; export var props = { id: { type: String, default: null }, inline: { type: Boolean, default: false }, novalidate: { type: Boolean, default: false }, validated: { type: Boolean, default: false } }; export default { functional: true, props: props, render: function render(h, _ref) { var props = _ref.props, data = _ref.data, children = _ref.children; return h('form', mergeData(data, { class: { 'form-inline': props.inline, 'was-validated': props.validated }, attrs: { id: props.id, novalidate: props.novalidate } }), children); } };