UNPKG

custom-bootstrap-vue

Version:

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

21 lines (19 loc) 455 B
import { getComponentConfig } from '../utils/config' // @vue/component export default { props: { size: { type: String, default: () => getComponentConfig('formControls', 'size') } }, computed: { sizeFormClass() { return [this.size ? `form-control-${this.size}` : null] }, /* istanbul ignore next: don't think this is used */ sizeBtnClass() { return [this.size ? `btn-${this.size}` : null] } } }