"use strict";

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

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

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

var _history = require("history");

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

var history = (0, _history.createBrowserHistory)();

function handleChange(page) {
  history.push(page.toString());
}

_reactDom["default"].render( /*#__PURE__*/_react["default"].createElement(_["default"], {
  defaultCurrent: 2,
  onChange: handleChange
}), document.getElementById('pagination-demo-12'));