UNPKG

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

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]; } } };