2019-04-17 15:58:15 +02:00
|
|
|
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
|
|
|
|
|
|
// Styles
|
|
|
|
import '../../../src/stylus/components/_dividers.styl';
|
|
|
|
// Mixins
|
|
|
|
import Themeable from '../../mixins/themeable';
|
|
|
|
export default Themeable.extend({
|
|
|
|
name: 'v-divider',
|
|
|
|
props: {
|
|
|
|
inset: Boolean,
|
|
|
|
vertical: Boolean
|
|
|
|
},
|
|
|
|
render: function render(h) {
|
|
|
|
return h('hr', {
|
|
|
|
class: _extends({
|
|
|
|
'v-divider': true,
|
|
|
|
'v-divider--inset': this.inset,
|
|
|
|
'v-divider--vertical': this.vertical
|
|
|
|
}, this.themeClasses),
|
|
|
|
attrs: this.$attrs,
|
|
|
|
on: this.$listeners
|
|
|
|
});
|
|
|
|
}
|
|
|
|
});
|
2019-06-04 14:29:48 +02:00
|
|
|
//# sourceMappingURL=VDivider.js.map
|