var _jsxFileName = 'src/modal/ModalFooter.jsx',
    _this = this;

/**
 * ModalFooter.jsx
 *
 * @Author: jruif
 * @Date: 2017/7/7 下午10:02
 */

import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import { hasChildren } from '../util/isType';
/**
 * @ignore
 * */
var ModalFooter = function ModalFooter(props) {
  var _props$prefixCls = props.prefixCls,
      prefixCls = _props$prefixCls === undefined ? 'ne-modal-footer' : _props$prefixCls,
      className = props.className,
      children = props.children;

  var classes = classNames(prefixCls, className);

  return React.createElement(
    'div',
    { className: classes, __source: {
        fileName: _jsxFileName,
        lineNumber: 19
      },
      __self: _this
    },
    hasChildren(children) ? children : ''
  );
};

ModalFooter.propTypes = {
  content: PropTypes.string,
  children: PropTypes.node,
  className: PropTypes.string
};

ModalFooter.displayName = 'NeatUI.ModalFooter';

export default ModalFooter;