bootstrap-vue
Version:
With more than 85 components, over 45 available plugins, several directives, and 1000+ icons, BootstrapVue provides one of the most comprehensive implementations of the Bootstrap v4 component and grid system available for Vue.js v2.6, complete with extens
16 lines (15 loc) • 456 B
JavaScript
import Vue from '../../vue';
import { NAME_TH } from '../../constants/components';
import { BTd } from './td'; // TODO:
// In Bootstrap v5, we won't need "sniffing" as table element variants properly inherit
// to the child elements, so this can be converted to a functional component
// @vue/component
export var BTh = /*#__PURE__*/Vue.extend({
name: NAME_TH,
extends: BTd,
computed: {
tag: function tag() {
return 'th';
}
}
});