Browse Source

small table with mini pagination

pull/42/head
afc163 10 years ago
parent
commit
3f3bd52d80
  1. 7
      components/table/index.jsx

7
components/table/index.jsx

@ -224,9 +224,12 @@ let AntTable = React.createClass({
if (this.state.pagination === false) {
return '';
}
return <Pagination className="ant-table-pagination"
let classString = 'ant-table-pagination';
if (this.props.size === 'small') {
classString += ' mini';
}
return <Pagination className={classString}
onChange={this.handlePageChange}
size="simple"
{...this.state.pagination} />;
},
prepareParamsArguments() {

Loading…
Cancel
Save