var _excluded = ['name'];

function ownKeys(object, enumerableOnly) {
  var keys = Object.keys(object);
  if (Object.getOwnPropertySymbols) {
    var symbols = Object.getOwnPropertySymbols(object);
    enumerableOnly &&
      (symbols = symbols.filter(function(sym) {
        return Object.getOwnPropertyDescriptor(object, sym).enumerable;
      })),
      keys.push.apply(keys, symbols);
  }
  return keys;
}

function _objectSpread(target) {
  for (var i = 1; i < arguments.length; i++) {
    var source = null != arguments[i] ? arguments[i] : {};
    i % 2
      ? ownKeys(Object(source), !0).forEach(function(key) {
          _defineProperty(target, key, source[key]);
        })
      : Object.getOwnPropertyDescriptors
      ? Object.defineProperties(
          target,
          Object.getOwnPropertyDescriptors(source),
        )
      : ownKeys(Object(source)).forEach(function(key) {
          Object.defineProperty(
            target,
            key,
            Object.getOwnPropertyDescriptor(source, key),
          );
        });
  }
  return target;
}

function _defineProperty(obj, key, value) {
  if (key in obj) {
    Object.defineProperty(obj, key, {
      value: value,
      enumerable: true,
      configurable: true,
      writable: true,
    });
  } else {
    obj[key] = value;
  }
  return obj;
}

function _objectWithoutProperties(source, excluded) {
  if (source == null) return {};
  var target = _objectWithoutPropertiesLoose(source, excluded);
  var key, i;
  if (Object.getOwnPropertySymbols) {
    var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
    for (i = 0; i < sourceSymbolKeys.length; i++) {
      key = sourceSymbolKeys[i];
      if (excluded.indexOf(key) >= 0) continue;
      if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
      target[key] = source[key];
    }
  }
  return target;
}

function _objectWithoutPropertiesLoose(source, excluded) {
  if (source == null) return {};
  var target = {};
  var sourceKeys = Object.keys(source);
  var key, i;
  for (i = 0; i < sourceKeys.length; i++) {
    key = sourceKeys[i];
    if (excluded.indexOf(key) >= 0) continue;
    target[key] = source[key];
  }
  return target;
}

/* tslint:disable */

/* eslintdisable */
import React from 'react';
import Zhengque from './Zhengque';
import Fenge from './Fenge';
import Tag from './Tag';
import Shouye from './Shouye';
import Cart from './Cart';
import Caidan from './Caidan';
import CartAdd from './CartAdd';
import Zanting from './Zanting';
import Bofang from './Bofang';
import Zhibozhong from './Zhibozhong';
import Shoucang1 from './Shoucang1';
import Zan1 from './Zan1';
import ZuJi from './ZuJi';
import Shijian from './Shijian';
import Zhuanlan from './Zhuanlan';
import Time from './Time';
import Bukanjian from './Bukanjian';
import Kanjian from './Kanjian';
import Jiankang from './Jiankang';
import Rili from './Rili';
import Zhibo from './Zhibo';
import Chuangzuo from './Chuangzuo';
import Yisheng from './Yisheng';
import Weixin from './Weixin';
import Zan from './Zan';
import Shoucang from './Shoucang';
import Shuaxin from './Shuaxin';
import Tongzhi from './Tongzhi';
import Home from './Home';
import Hot from './Hot';
import Yiyuan from './Yiyuan';
import Keshi from './Keshi';
import Mobile from './Mobile';
import Left from './Left';
import Filter from './Filter';
import Album from './Album';
import Biaoqing from './Biaoqing';
import Voice from './Voice';
import Xiangji from './Xiangji';
import Xingxing from './Xingxing';
import Tip from './Tip';
import Jianshao from './Jianshao';
import Zengjia from './Zengjia';
import Right from './Right';
import HomeSolid from './HomeSolid';
import Monitor from './Monitor';
import Move from './Move';
import Notice from './Notice';
import New from './New';
import Add from './Add';
import Atm from './Atm';
import Clear from './Clear';
import Clear2 from './Clear2';
import Yes from './Yes';
import Search from './Search';
import SearchList from './SearchList';
import Down from './Down';
import DingDan from './DingDan';
import BarCode from './BarCode';
import BianJi from './BianJi';
import QrCode from './QrCode';
import Quan from './Quan';
import Loading2 from './Loading2';
import Loading from './Loading';
import Location from './Location';
import Lock from './Lock';
import Link from './link';
import UnLock from './UnLock';
import User from './User';
import Flag from './Flag';
import Redenvelope from './Redenvelope';
import Scan from './Scan';
import Setting from './Setting';
import Team from './Team';
import Aviation from './Aviation';
import History from './History';
import Wallet from './Wallet';
import Warehouse from './Warehouse';
import Tongxunlu from './Tongxunlu';
import Rmb from './Rmb';
import Landtransportation from './Landtransportation';
import Namecard from './Namecard';
import Ontimeshipment from './Ontimeshipment';
import Packaging from './Packaging';
import Service from './Service';
import Delete from './Delete';
import Comments from './Comments';
import DownLoad from './DownLoad';
import Rate from './rate';
import Share from './Share';
import Up from './Up';
import UpLoad from './Upload';
import Volume from './Volume';
import Returned from './Returned';

var IconFont = function IconFont(_ref) {
  var name = _ref.name,
    rest = _objectWithoutProperties(_ref, _excluded);

  switch (name) {
    case 'aviation':
      return /*#__PURE__*/ React.createElement(
        Aviation,
        _objectSpread({}, rest),
      );

    case 'zhengque':
      return /*#__PURE__*/ React.createElement(
        Zhengque,
        _objectSpread({}, rest),
      );

    case 'comments':
      return /*#__PURE__*/ React.createElement(
        Comments,
        _objectSpread({}, rest),
      );

    case 'download':
      return /*#__PURE__*/ React.createElement(
        DownLoad,
        _objectSpread({}, rest),
      );

    case 'fenge':
      return /*#__PURE__*/ React.createElement(Fenge, _objectSpread({}, rest));

    case 'tag':
      return /*#__PURE__*/ React.createElement(Tag, _objectSpread({}, rest));

    case 'shouye':
      return /*#__PURE__*/ React.createElement(Shouye, _objectSpread({}, rest));

    case 'cart':
      return /*#__PURE__*/ React.createElement(Cart, _objectSpread({}, rest));

    case 'cartadd':
      return /*#__PURE__*/ React.createElement(
        CartAdd,
        _objectSpread({}, rest),
      );

    case 'caidan':
      return /*#__PURE__*/ React.createElement(Caidan, _objectSpread({}, rest));

    case 'zanting':
      return /*#__PURE__*/ React.createElement(
        Zanting,
        _objectSpread({}, rest),
      );

    case 'bofang':
      return /*#__PURE__*/ React.createElement(Bofang, _objectSpread({}, rest));

    case 'zhibozhong':
      return /*#__PURE__*/ React.createElement(
        Zhibozhong,
        _objectSpread({}, rest),
      );

    case 'shoucang1':
      return /*#__PURE__*/ React.createElement(
        Shoucang1,
        _objectSpread({}, rest),
      );

    case 'setting':
      return /*#__PURE__*/ React.createElement(
        Setting,
        _objectSpread({}, rest),
      );

    case 'zan1':
      return /*#__PURE__*/ React.createElement(Zan1, _objectSpread({}, rest));

    case 'zuji':
      return /*#__PURE__*/ React.createElement(ZuJi, _objectSpread({}, rest));

    case 'shijian':
      return /*#__PURE__*/ React.createElement(
        Shijian,
        _objectSpread({}, rest),
      );

    case 'scan':
      return /*#__PURE__*/ React.createElement(Scan, _objectSpread({}, rest));

    case 'zhuanlan':
      return /*#__PURE__*/ React.createElement(
        Zhuanlan,
        _objectSpread({}, rest),
      );

    case 'service':
      return /*#__PURE__*/ React.createElement(
        Service,
        _objectSpread({}, rest),
      );

    case 'time':
      return /*#__PURE__*/ React.createElement(Time, _objectSpread({}, rest));

    case 'bukanjian':
      return /*#__PURE__*/ React.createElement(
        Bukanjian,
        _objectSpread({}, rest),
      );

    case 'kanjian':
      return /*#__PURE__*/ React.createElement(
        Kanjian,
        _objectSpread({}, rest),
      );

    case 'jiankang':
      return /*#__PURE__*/ React.createElement(
        Jiankang,
        _objectSpread({}, rest),
      );

    case 'rili':
      return /*#__PURE__*/ React.createElement(Rili, _objectSpread({}, rest));

    case 'zhibo':
      return /*#__PURE__*/ React.createElement(Zhibo, _objectSpread({}, rest));

    case 'chuangzuo':
      return /*#__PURE__*/ React.createElement(
        Chuangzuo,
        _objectSpread({}, rest),
      );

    case 'yisheng':
      return /*#__PURE__*/ React.createElement(
        Yisheng,
        _objectSpread({}, rest),
      );

    case 'weixin':
      return /*#__PURE__*/ React.createElement(Weixin, _objectSpread({}, rest));

    case 'warehouse':
      return /*#__PURE__*/ React.createElement(
        Warehouse,
        _objectSpread({}, rest),
      );

    case 'wallet':
      return /*#__PURE__*/ React.createElement(Wallet, _objectSpread({}, rest));

    case 'zan':
      return /*#__PURE__*/ React.createElement(Zan, _objectSpread({}, rest));

    case 'shoucang':
      return /*#__PURE__*/ React.createElement(
        Shoucang,
        _objectSpread({}, rest),
      );

    case 'shuaxin':
      return /*#__PURE__*/ React.createElement(
        Shuaxin,
        _objectSpread({}, rest),
      );

    case 'tongzhi':
      return /*#__PURE__*/ React.createElement(
        Tongzhi,
        _objectSpread({}, rest),
      );

    case 'home':
      return /*#__PURE__*/ React.createElement(Home, _objectSpread({}, rest));

    case 'hot':
      return /*#__PURE__*/ React.createElement(Hot, _objectSpread({}, rest));

    case 'yiyuan':
      return /*#__PURE__*/ React.createElement(Yiyuan, _objectSpread({}, rest));

    case 'keshi':
      return /*#__PURE__*/ React.createElement(Keshi, _objectSpread({}, rest));

    case 'mobile':
      return /*#__PURE__*/ React.createElement(Mobile, _objectSpread({}, rest));

    case 'left':
      return /*#__PURE__*/ React.createElement(Left, _objectSpread({}, rest));

    case 'filter':
      return /*#__PURE__*/ React.createElement(Filter, _objectSpread({}, rest));

    case 'delete':
      return /*#__PURE__*/ React.createElement(Delete, _objectSpread({}, rest));

    case 'album':
      return /*#__PURE__*/ React.createElement(Album, _objectSpread({}, rest));

    case 'biaoqing':
      return /*#__PURE__*/ React.createElement(
        Biaoqing,
        _objectSpread({}, rest),
      );

    case 'voice':
      return /*#__PURE__*/ React.createElement(Voice, _objectSpread({}, rest));

    case 'volume':
      return /*#__PURE__*/ React.createElement(Volume, _objectSpread({}, rest));

    case 'xiangji':
      return /*#__PURE__*/ React.createElement(
        Xiangji,
        _objectSpread({}, rest),
      );

    case 'xingxing':
      return /*#__PURE__*/ React.createElement(
        Xingxing,
        _objectSpread({}, rest),
      );

    case 'tip':
      return /*#__PURE__*/ React.createElement(Tip, _objectSpread({}, rest));

    case 'team':
      return /*#__PURE__*/ React.createElement(Team, _objectSpread({}, rest));

    case 'jianshao':
      return /*#__PURE__*/ React.createElement(
        Jianshao,
        _objectSpread({}, rest),
      );

    case 'zengjia':
      return /*#__PURE__*/ React.createElement(
        Zengjia,
        _objectSpread({}, rest),
      );

    case 'right':
      return /*#__PURE__*/ React.createElement(Right, _objectSpread({}, rest));

    case 'redenvelope':
      return /*#__PURE__*/ React.createElement(
        Redenvelope,
        _objectSpread({}, rest),
      );

    case 'homesolid':
      return /*#__PURE__*/ React.createElement(
        HomeSolid,
        _objectSpread({}, rest),
      );

    case 'monitor':
      return /*#__PURE__*/ React.createElement(
        Monitor,
        _objectSpread({}, rest),
      );

    case 'move':
      return /*#__PURE__*/ React.createElement(Move, _objectSpread({}, rest));

    case 'notice':
      return /*#__PURE__*/ React.createElement(Notice, _objectSpread({}, rest));

    case 'new':
      return /*#__PURE__*/ React.createElement(New, _objectSpread({}, rest));

    case 'add':
      return /*#__PURE__*/ React.createElement(Add, _objectSpread({}, rest));

    case 'atm':
      return /*#__PURE__*/ React.createElement(Atm, _objectSpread({}, rest));

    case 'clear':
      return /*#__PURE__*/ React.createElement(Clear, _objectSpread({}, rest));

    case 'clear2':
      return /*#__PURE__*/ React.createElement(Clear2, _objectSpread({}, rest));

    case 'yes':
      return /*#__PURE__*/ React.createElement(Yes, _objectSpread({}, rest));

    case 'search':
      return /*#__PURE__*/ React.createElement(Search, _objectSpread({}, rest));

    case 'searchlist':
      return /*#__PURE__*/ React.createElement(
        SearchList,
        _objectSpread({}, rest),
      );

    case 'down':
      return /*#__PURE__*/ React.createElement(Down, _objectSpread({}, rest));

    case 'history':
      return /*#__PURE__*/ React.createElement(
        History,
        _objectSpread({}, rest),
      );

    case 'dingdan':
      return /*#__PURE__*/ React.createElement(
        DingDan,
        _objectSpread({}, rest),
      );

    case 'barcode':
      return /*#__PURE__*/ React.createElement(
        BarCode,
        _objectSpread({}, rest),
      );

    case 'bianji':
      return /*#__PURE__*/ React.createElement(BianJi, _objectSpread({}, rest));

    case 'qrcode':
      return /*#__PURE__*/ React.createElement(QrCode, _objectSpread({}, rest));

    case 'quan':
      return /*#__PURE__*/ React.createElement(Quan, _objectSpread({}, rest));

    case 'flag':
      return /*#__PURE__*/ React.createElement(Flag, _objectSpread({}, rest));

    case 'location':
      return /*#__PURE__*/ React.createElement(
        Location,
        _objectSpread({}, rest),
      );

    case 'lock':
      return /*#__PURE__*/ React.createElement(Lock, _objectSpread({}, rest));

    case 'link':
      return /*#__PURE__*/ React.createElement(Link, _objectSpread({}, rest));

    case 'unlock':
      return /*#__PURE__*/ React.createElement(UnLock, _objectSpread({}, rest));

    case 'user':
      return /*#__PURE__*/ React.createElement(User, _objectSpread({}, rest));

    case 'freight':
      return /*#__PURE__*/ React.createElement(
        Landtransportation,
        _objectSpread({}, rest),
      );

    case 'namecard':
      return /*#__PURE__*/ React.createElement(
        Namecard,
        _objectSpread({}, rest),
      );

    case 'time2':
      return /*#__PURE__*/ React.createElement(
        Ontimeshipment,
        _objectSpread({}, rest),
      );

    case 'packaging':
      return /*#__PURE__*/ React.createElement(
        Packaging,
        _objectSpread({}, rest),
      );

    case 'rmb':
      return /*#__PURE__*/ React.createElement(Rmb, _objectSpread({}, rest));

    case 'tongxunlu':
      return /*#__PURE__*/ React.createElement(
        Tongxunlu,
        _objectSpread({}, rest),
      );

    case 'rate':
      return /*#__PURE__*/ React.createElement(Rate, _objectSpread({}, rest));

    case 'returned':
      return /*#__PURE__*/ React.createElement(
        Returned,
        _objectSpread({}, rest),
      );

    case 'up':
      return /*#__PURE__*/ React.createElement(Up, _objectSpread({}, rest));

    case 'upload':
      return /*#__PURE__*/ React.createElement(UpLoad, _objectSpread({}, rest));

    case 'share':
      return /*#__PURE__*/ React.createElement(Share, _objectSpread({}, rest));

    case 'loading':
      return /*#__PURE__*/ React.createElement(
        Loading,
        _objectSpread({}, rest),
      );

    case 'loading2':
      return /*#__PURE__*/ React.createElement(
        Loading2,
        _objectSpread({}, rest),
      );
  }

  return null;
};

export default IconFont;
