"use strict";
Object.defineProperty(exports, "__esModule", {
  value: !0
}), exports.default = getComponent;
var _CustomNode = _interopRequireDefault(require("./CustomNode")),
  _GiotNode = _interopRequireDefault(require("./GiotNode")),
  _NingHuaNode = _interopRequireDefault(require("./NingHuaNode"));

function _interopRequireDefault(e) {
  return e && e.__esModule ? e : {
    default: e
  }
}
var typeToComponentMap = {
  custom: _CustomNode.default,
  giot: _GiotNode.default,
  ninghua: _NingHuaNode.default
};

function getComponent(e) {
  return typeToComponentMap[e] || _CustomNode.default
}
module.exports = exports.default;
