'use strict';

exports.__esModule = true;

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function ShareType(_ref) {
  var type = _ref.type;

  return _react2.default.createElement(
    _react.Fragment,
    null,
    _react2.default.createElement('i', { className: 'share-icon ' + type }),
    _react2.default.createElement(
      'p',
      { className: 'share-caption' },
      type === 'wechat' && '微信好友',
      type === 'wework' && '企业微信好友',
      type === 'moments' && '微信朋友圈'
    )
  );
}

exports.default = ShareType;
module.exports = exports['default'];