vuetify
Version:
Vue.js 2 Semantic Component Framework
21 lines (15 loc) • 425 B
JavaScript
export default {
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 = ('card__title ' + (data.staticClass || '')).trim();
if (props.primaryTitle) data.staticClass += ' card__title--primary';
return h('div', data, children);
}
};