var _jsxFileName = 'src/datePicker/separator.jsx';
/**
 * separator.jsx
 *
 * @Author: apple
 * @Date: 2018/6/28 14:43
 */

import React from 'react';
import { isFunction } from '../util/isType';

function Separator(props) {
    var prefixClsDatePicker = props.prefixClsDatePicker,
        separator = props.separator;

    return React.createElement(
        'span',
        { className: prefixClsDatePicker + '-separator', __source: {
                fileName: _jsxFileName,
                lineNumber: 14
            },
            __self: this
        },
        isFunction(separator) ? separator() : separator
    );
}

export default Separator;