UNPKG

bootstrap-vue

Version:

BootstrapVue, with over 40 plugins and more than 80 custom components, custom directives, and over 300 icons, provides one of the most comprehensive implementations of Bootstrap v4 components and grid system for Vue.js. With extensive and automated WAI-AR

22 lines (21 loc) 561 B
import { getComponentConfig } from '../utils/config'; // @vue/component export default { props: { size: { type: String, default: function _default() { return getComponentConfig('formControls', 'size'); } } }, computed: { sizeFormClass: function sizeFormClass() { return [this.size ? "form-control-".concat(this.size) : null]; }, sizeBtnClass: function sizeBtnClass() /* istanbul ignore next: don't think this is used */ { return [this.size ? "btn-".concat(this.size) : null]; } } };