UNPKG

bootstrap-vue

Version:

Quickly integrate Bootstrap 4 components with Vue.js

30 lines (27 loc) 435 B
import { mergeData } from '../../utils' export const props = { id: { type: String, default: null }, tag: { type: String, default: 'div' } } export default { functional: true, props, render (h, { props, data, children }) { return h( props.tag, mergeData(data, { staticClass: 'valid-feedback', attrs: { id: props.id } }), children ) } }