"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); exports.__esModule = true; exports.default = void 0; var _babelHelperVueJsxMergeProps = _interopRequireDefault(require("@vue/babel-helper-vue-jsx-merge-props")); var _utils = require("../utils"); var _functional = require("../utils/functional"); // Utils var _createNamespace = (0, _utils.createNamespace)('divider'), createComponent = _createNamespace[0], bem = _createNamespace[1]; function Divider(h, props, slots, ctx) { var _bem; return h("div", (0, _babelHelperVueJsxMergeProps.default)([{ "attrs": { "role": "separator" }, "style": { borderColor: props.borderColor }, "class": bem((_bem = { dashed: props.dashed, hairline: props.hairline }, _bem["content-" + props.contentPosition] = slots.default, _bem)) }, (0, _functional.inherit)(ctx, true)]), [slots.default && slots.default()]); } Divider.props = { dashed: Boolean, hairline: { type: Boolean, default: true }, contentPosition: { type: String, default: 'center' } }; var _default = createComponent(Divider); exports.default = _default;