"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 }; }

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("p", null, " Enabled "), /*#__PURE__*/_react["default"].createElement(_["default"], {
  onChange: function onChange(val) {
    return console.log('change:', val);
  },
  onHoverChange: function onHoverChange(val) {
    return console.log('hover:', val);
  }
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("p", null, " Selected "), /*#__PURE__*/_react["default"].createElement(_["default"], {
  defaultValue: 3.5,
  onChange: function onChange(val) {
    return console.log('change:', val);
  },
  onHoverChange: function onHoverChange(val) {
    return console.log('hover:', val);
  }
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("p", null, " Half Selected "), /*#__PURE__*/_react["default"].createElement(_["default"], {
  defaultValue: 3.5,
  allowHalf: true,
  onChange: function onChange(val) {
    return console.log('change:', val);
  },
  onHoverChange: function onHoverChange(val) {
    return console.log('hover:', val);
  }
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("p", null, " Disabled "), /*#__PURE__*/_react["default"].createElement(_["default"], {
  defaultValue: 2.5,
  disabled: true,
  onChange: function onChange(val) {
    return console.log('change:', val);
  },
  onHoverChange: function onHoverChange(val) {
    return console.log('hover:', val);
  }
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("p", null, " \u5176\u4ED6\u6837\u5F0F "), /*#__PURE__*/_react["default"].createElement(_["default"], {
  defaultValue: 3.5,
  shape: "favorite",
  allowHalf: true,
  onChange: function onChange(val) {
    return console.log('change:', val);
  },
  onHoverChange: function onHoverChange(val) {
    return console.log('hover:', val);
  }
}), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement("br", null), /*#__PURE__*/_react["default"].createElement(_["default"], {
  defaultValue: 3,
  shape: "number",
  size: "medium",
  allowHalf: true,
  onChange: function onChange(val) {
    return console.log('change:', val);
  },
  onHoverChange: function onHoverChange(val) {
    return console.log('hover:', val);
  }
})), document.getElementById('rating-demo-1'));