UNPKG

bootstrap-vue

Version:

Quickly integrate Bootstrap 4 components with Vue.js

28 lines (25 loc) 425 B
import { mergeData } from '../../utils' export const props = { id: { type: String, default: null }, tag: { type: String, default: 'h6' } } export default { functional: true, props, render (h, { props, data, children }) { return h( props.tag, mergeData(data, { staticClass: 'dropdown-header', attrs: { id: props.id || null } }), children ) } }