"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var _react=require("react"),React=_interopRequireWildcard(_react);function _interopRequireWildcard(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}var Pager=function(t){var e=t.rootPrefixCls+"-item",r=e+" "+e+"-"+t.page;t.active&&(r=r+" "+e+"-active"),t.className&&(r=r+" "+t.className);return React.createElement("li",{title:t.showTitle?""+t.page:"",className:r,onClick:function(){t.onClick(t.page)},onKeyPress:function(e){t.onKeyPress(e,t.onClick,t.page)},tabIndex:0},t.itemRender(t.page,"page",React.createElement("a",null,t.page)))};exports.default=Pager,module.exports=exports.default;