mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-04 00:49:39 +08:00
19 lines
399 B
JavaScript
19 lines
399 B
JavaScript
'use strict';
|
|
|
|
let React = require('react');
|
|
let Pagination = require('rc-pagination');
|
|
let Select = require('rc-select');
|
|
|
|
let prefixCls = 'ant-pagination';
|
|
|
|
class AntPagination extends React.Component {
|
|
render() {
|
|
return <Pagination selectComponentClass={Select}
|
|
selectPrefixCls="ant-select"
|
|
prefixCls={prefixCls}
|
|
{...this.props} />;
|
|
}
|
|
}
|
|
|
|
module.exports = AntPagination;
|