UNPKG

bootstrap-vue

Version:

Quickly integrate Bootstrap 4 components with Vue.js

29 lines (25 loc) 539 B
import { mergeData } from '../../utils'; export var props = { tag: { type: String, default: 'div' }, flush: { 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; var componentData = { staticClass: 'list-group', class: { 'list-group-flush': props.flush } }; return h(props.tag, mergeData(data, componentData), children); } };