31 lines
810 B
JavaScript
31 lines
810 B
JavaScript
|
'use strict';
|
||
|
|
||
|
Object.defineProperty(exports, "__esModule", {
|
||
|
value: true
|
||
|
});
|
||
|
|
||
|
var _vue = require('vue');
|
||
|
|
||
|
var _vue2 = _interopRequireDefault(_vue);
|
||
|
|
||
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||
|
|
||
|
/* @vue/component */
|
||
|
exports.default = _vue2.default.extend({
|
||
|
name: 'v-card-title',
|
||
|
functional: true,
|
||
|
props: {
|
||
|
primaryTitle: Boolean
|
||
|
},
|
||
|
render: function render(h, _ref) {
|
||
|
var data = _ref.data,
|
||
|
props = _ref.props,
|
||
|
children = _ref.children;
|
||
|
|
||
|
data.staticClass = ('v-card__title ' + (data.staticClass || '')).trim();
|
||
|
if (props.primaryTitle) data.staticClass += ' v-card__title--primary';
|
||
|
return h('div', data, children);
|
||
|
}
|
||
|
}); // Types
|
||
|
//# sourceMappingURL=VCardTitle.js.map
|