"use strict";

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

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

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

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

var renderTimeMenuItems = function renderTimeMenuItems(list) {
  return list.map(function (_ref) {
    var value = _ref.value;
    return {
      value: value,
      label: value > 9 ? String(value) : "0".concat(value)
    };
  });
};

_reactDom["default"].render(
/*#__PURE__*/
// @ts-ignore
_react["default"].createElement(_["default"], {
  renderTimeMenuItems: renderTimeMenuItems
}), document.getElementById('time-picker2-demo-8'));