mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +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;
|