import React, { Fragment } from 'react';

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

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

export default ShareType;