line_push/node_modules/vuetify/lib/components/VContent/VContent.js
2022-07-21 03:28:35 +00:00

22 lines
533 B
JavaScript

// Extensions
import VMain from '../VMain/VMain';
import { deprecate } from '../../util/console';
/* @vue/component */
export default VMain.extend({
name: 'v-main',
created() {
deprecate('v-content', 'v-main', this);
},
render(h) {
// Add the legacy class names
const node = VMain.options.render.call(this, h);
node.data.staticClass += ' v-content';
node.children[0].data.staticClass += ' v-content__wrap';
return h(node.tag, node.data, node.children);
}
});
//# sourceMappingURL=VContent.js.map