import{r as e,j as t}from"./app-61e75031.js";import{i as a}from"./local-95ab843f.js";import{P as s}from"./index-b09a3426.js";class o extends e.Component{constructor(e){super(e),this.pageChange=({current:e,pageSize:t})=>{this.props.onChange(e)}}render(){const e=this.props;return t.jsx("div",{className:["reset-t-pagination-box",a()?"reset-t-pagination__mobile":""].join(" "),children:t.jsx(s,{foldedMaxPageBtn:2,maxPageBtn:3,className:["reset-t-pagination"].join(" "),defaultCurrent:e.pageNum,defaultPageSize:e.pageSize,pageSizeOptions:[],pageEllipsisMode:"mid",showFirstAndLastPageBtn:!1,showJumper:!1,showPageNumber:!0,showPreviousAndNextBtn:!0,size:"medium",theme:"default",total:e.total,totalContent:!0,onChange:this.pageChange})})}}export{o as P};
