"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: !0
}), exports.default = getComponent;

var _CustomNode = _interopRequireDefault(require("./CustomNode")), _GiotNode = _interopRequireDefault(require("./GiotNode")), _NingHuaNode = _interopRequireDefault(require("./NingHuaNode")), typeToComponentMap = {
  custom: _CustomNode.default,
  giot: _GiotNode.default,
  ninghua: _NingHuaNode.default
};

function getComponent(e) {
  return typeToComponentMap[e] ? typeToComponentMap[e] : _CustomNode.default;
}