<template>
    <view
        :class="'custom-class ' + utils.bem('divider', [{ dashed, hairline }, contentPosition])"
        :style="
            (borderColor ? 'border-color: ' + borderColor + ';' : '') +
            (textColor ? 'color: ' + textColor + ';' : '') +
            ' ' +
            (fontSize ? 'font-size: ' + fontSize + 'px;' : '') +
            ' ' +
            customStyle
        "
    >
        <slot />
    </view>
</template>
<script module="utils" lang="wxs" src="@/node_modules/@vant/weapp/lib/wxs/utils.wxs"></script>
<script>
'use strict';
Object.defineProperty(exports, '__esModule', {
    value: true
});
var component_1 = require('../common/component');
component_1.VantComponent({
    props: {
        dashed: {
            type: Boolean,
            value: false
        },
        hairline: {
            type: Boolean,
            value: false
        },
        contentPosition: {
            type: String,
            value: ''
        },
        fontSize: {
            type: Number,
            value: ''
        },
        borderColor: {
            type: String,
            value: ''
        },
        textColor: {
            type: String,
            value: ''
        },
        customStyle: {
            type: String,
            value: ''
        }
    }
});
</script>
<style>
@import './index.css';
</style>
