export default { inject: [ 'eventsAreNull', 'size', 'classHeader' ], props: { title: String }, emits: [ 'prev', 'next', 'click' ], computed: { myClassHeader() { // TODO(chris): + {'btn-sm': !this.size} let c = this.classHeader; if (Array.isArray(c)) { if (!this.size) c.push('btn-sm'); } else if (typeof c === 'string' || c instanceof String) { if (!this.size) c += ' btn-sm'; } else { c['btn-sm'] = !this.size; } return c; } }, template: `