"use strict";

var _ = _interopRequireDefault(require(".."));

var _react = _interopRequireDefault(require("react"));

var _reactDom = _interopRequireDefault(require("react-dom"));

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

var starMap = {
  1: 'Bad',
  2: 'OK',
  3: 'Good',
  4: 'Great',
  5: 'Perfect'
};

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(_["default"], {
  defaultValue: 2,
  showGrade: true // @ts-ignore
  ,
  readAs: function readAs(val) {
    return starMap[val];
  }
}), document.getElementById('rating-demo-6'));