Object.defineProperty(exports, '__esModule', {
  value: true
});

var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }

/** @babel */
/** @jsx etch.dom */

var _etch = require('etch');

var _etch2 = _interopRequireDefault(_etch);

var StatusIconComponent = (function () {
  function StatusIconComponent(_ref) {
    var count = _ref.count;

    _classCallCheck(this, StatusIconComponent);

    this.count = count;
    _etch2['default'].createElement(this);
  }

  _createClass(StatusIconComponent, [{
    key: 'render',
    value: function render() {
      return _etch2['default'].dom(
        'div',
        { className: 'incompatible-packages-status inline-block text text-error' },
        _etch2['default'].dom('span', { className: 'icon icon-bug' }),
        _etch2['default'].dom(
          'span',
          { className: 'incompatible-packages-count' },
          this.count
        )
      );
    }
  }]);

  return StatusIconComponent;
})();

exports['default'] = StatusIconComponent;
module.exports = exports['default'];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9idWlsZC9hdG9tL3NyYy9hdG9tLTEuMTUuMC9vdXQvYXBwL25vZGVfbW9kdWxlcy9pbmNvbXBhdGlibGUtcGFja2FnZXMvbGliL3N0YXR1cy1pY29uLWNvbXBvbmVudC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O29CQUdpQixNQUFNOzs7O0lBRUYsbUJBQW1CO0FBQzFCLFdBRE8sbUJBQW1CLENBQ3pCLElBQU8sRUFBRTtRQUFSLEtBQUssR0F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