UNPKG

bootstrap-vue

Version:

BootstrapVue, with more than 85 custom components, over 45 plugins, several 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 W

22 lines (20 loc) 558 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]; }, /* istanbul ignore next: don't think this is used */ sizeBtnClass: function sizeBtnClass() { return [this.size ? "btn-".concat(this.size) : null]; } } };