webpackHotUpdate(0,{

/***/ 218:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(5);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__Input__ = __webpack_require__(209);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__lib_model_helper__ = __webpack_require__(31);\n\n\n\n\nconst Inputs = ({ inputs, instance }) => {\n  const typeClass = instance.typeDefinition.metaClassName();\n\n  let content;\n  if (inputs.length > 0) {\n    content = inputs.map((input, i) => __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1__Input__[\"a\" /* default */], { key: i, port: input, instance: instance }));\n  } else {\n    content = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n      'em',\n      { className: 'muted' },\n      'This ',\n      Object(__WEBPACK_IMPORTED_MODULE_2__lib_model_helper__[\"a\" /* getType */])(typeClass),\n      ' has no input port'\n    );\n  }\n\n  return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n    'div',\n    { className: 'inputs' },\n    content\n  );\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (Inputs);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjE4LmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2Jyb3dzZXItdGVzdGVyL3NyYy9jb21wb25lbnRzL0lucHV0cy9pbmRleC5qcz9hZTA5Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgSW5wdXQgZnJvbSAnLi4vSW5wdXQnO1xuaW1wb3J0IHsgZ2V0VHlwZSB9IGZyb20gJy4uLy4uL2xpYi9tb2R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