UNPKG

custom-bootstrap-vue

Version:

Custom version of bootstrap-vue created for providing specific theme to a particular project

20 lines (17 loc) 420 B
import Vue from '../../utils/vue' import { mergeData } from 'vue-functional-data-merge' export const props = { textTag: { type: String, default: 'p' } } // @vue/component export const BCardText = /*#__PURE__*/ Vue.extend({ name: 'BCardText', functional: true, props, render(h, { props, data, children }) { return h(props.textTag, mergeData(data, { staticClass: 'card-text' }), children) } })