UNPKG

quasar-framework

Version:

Build responsive SPA, SSR, PWA, Hybrid Mobile Apps and Electron apps, all simultaneously using the same codebase

23 lines (22 loc) 459 B
export default { name: 'QBtnGroup', props: { outline: Boolean, flat: Boolean, rounded: Boolean, push: Boolean }, computed: { classes () { return ['outline', 'flat', 'rounded', 'push'] .filter(t => this[t]) .map(t => `q-btn-group-${t}`).join(' ') } }, render (h) { return h('div', { staticClass: 'q-btn-group row no-wrap inline', 'class': this.classes }, this.$slots.default) } }